There has been quite a bit of discussion about this one-liner on
#openvpn-devel - this is not a particularily pretty piece of code, nor
easy to understand. It's intended as a "do not break existing setups"
bandaid, while we spend more thoughts on making this work better, and
also clarify for ourselves and the documentation what "default gateway"
and "route ... net_gateway" really means :-) - and possibly drop
"non def1" redirection, which will simplify more of this.
Thanks for looking into this :-)
Your patch has been applied to the master branch.
commit 75ba07d496da269b13fc368311f8a063b65d58e7
Author: Marco Baffo
Date: Fri Feb 14 16:34:34 2025 +0100
get_default_gateway(): Prevent passing IPV4_INVALID_ADDR as a destination
Signed-off-by: Marco Baffo <[email protected]>
Acked-by: Gert Doering <[email protected]>
Message-Id: <[email protected]>
URL:
https://www.mail-archive.com/[email protected]/msg30895.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