Another nice finding... testing this on FreeBSD, with --verb 4, I get
"no output regarding gateway at all" (so it's not really obvious that
"something is missing here").  With the patch, I have them back...

2026-11-03 17:57:59 us=291394 ROUTE_GATEWAY x.x.x.30/255.255.255.224 
IFACE=vtnet0 HWADDR=bc:24:11:bf:7a:d4
2026-11-03 17:57:59 us=291493 ROUTE6_GATEWAY 2001:608:x:x::ffff IFACE=vtnet0

Backporting to 2.7 needed a bit of manoevering around ENABLE_DEBUG :-) -
but the actual offending line is the same.

Your patch has been applied to the master and release/2.7 branch (bugfix!).

commit 791eb227d912a77713245f33854bcfe84a2dcc9b (master)
commit 54ab191c5171c52e13243af8cae5a850e83e7da6 (release/2.7)
Author: Razvan Cojocaru
Date:   Mon Nov 2 15:19:55 2026 +0100

     route: print net_gateway info instead of unset rgi/rgi6

     Signed-off-by: Razvan Cojocaru <[email protected]>
     Acked-by: Gert Doering <[email protected]>
     Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2086
     Message-Id: <[email protected]>
     URL: 
https://www.mail-archive.com/[email protected]/msg40495.html
     Signed-off-by: Gert Doering <[email protected]>


--
kind regards,

Gert Doering



_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

Reply via email to