On Mon, 30 Jul 2018, D. Hugh Redelmeier wrote:

Some of our code emits our vendorid payload using libreswan_vendorid
as our Vendor ID using

        out_vid( ..., VID_LIBRESWANSELF);

and some uses pluto_vendorid, via ikev1_out_generic_raw().

Those are two different things,

Which one is correct?

both :)

VID_LIBRESWANSELF is our compiled in version based on various compile
time settings.

pluto_vendorid is our vendorid which can be set with the myvendorid=

eg:

config setup
        myvendorid="paulswan"
        send-vendorid=yes


If send-vendorid=yes and no myvendorid=, the default to use is whatever
is compiled in as VID_LIBRESWANSELF.

Paul

_______________________________________________
Swan-dev mailing list
[email protected]
https://lists.libreswan.org/mailman/listinfo/swan-dev

Reply via email to