I do remember this function! ;-)
Tested with the lone caller...
2025-10-07 18:05:47 ROUTE6: 2607:fc50:1001:5200::1:8/111 overlaps IPv6 remote
2607:fc50:1001:5200::4, adding host route to VPN endpoint
.. still works, for "match" and "no match" and "slightly odd netbits".
At some point we might see if we can move this "somewhere" (socket_util.c?)
that is suitable for an unit test, and add one... but not today.
Your patch has been applied to the master branch.
commit 790b812014708aa21a12743d5a73dfc4fc29d938
Author: Arne Schwabe
Date: Tue Oct 7 18:08:18 2025 +0200
Allow route_ipv6_match_host to be used outside of route.c
Signed-off-by: Arne Schwabe <[email protected]>
Acked-by: Gert Doering <[email protected]>
Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/1191
Message-Id: <[email protected]>
URL: https://sourceforge.net/p/openvpn/mailman/message/59243387/
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