Thanks, Kristof for the review, and for merging the kernel side.

I have added the kernel commit ID to the commit message for this
patch ("if the kernel is too old, SET_IFMODE will fail and 
topology subnet will not work") - and verified that this is indeed
the result, p2p mode with net30 works, subnet fails.  And of course,
tested with a newer if_ovpn.ko, and all works :-)

I have also taken the liberty to remove the debug message printing
the ifmode to-be-set, and to add the ifmode + 'dco_set_ifmode:' to
the error message, so log file output is more useful.

Patch has been applied to the master branch.

commit 22bc63c78439ed23b974b8f822330d75ec79c7fc
Author: Gert Doering
Date:   Wed Oct 12 16:59:15 2022 +0200

     FreeBSD DCO: introduce real subnet mode

     Signed-off-by: Gert Doering <g...@greenie.muc.de>
     Acked-by: Kristof Provost <kprov...@netgate.com>
     Message-Id: <20221012145915.25810-2-g...@greenie.muc.de>
     URL: 
https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg25395.html
     Signed-off-by: Gert Doering <g...@greenie.muc.de>


--
kind regards,

Gert Doering



_______________________________________________
Openvpn-devel mailing list
Openvpn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to