Tested on a gentoo system with "configure --enable-iproute2" and then
asking the usual "--show-gateway ..." questions.
The actual code change is quite trivial - throw out old code, rely on
the (by now) really well-tested and proven sitnl code.
Your patch has been applied to the master branch.
commit d83afe0e0c878164886d83f3ffddbc63680a6310
Author: Gert Doering
Date: Fri Jan 31 09:47:07 2025 +0100
get_default_gateway(): implement platform support for Linux/IPROUTE2
Signed-off-by: Gert Doering <[email protected]>
Acked-by: Antonio Quartulli <[email protected]>
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg30748.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