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 <g...@greenie.muc.de> Acked-by: Antonio Quartulli <a...@unstable.cc> Message-Id: <20250131084707.24905-1-g...@greenie.muc.de> URL: https://www.mail-archive.com/openvpn-devel@lists.sourceforge.net/msg30748.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