Gert Doering has submitted this change. ( https://gerrit.openvpn.net/c/openvpn/+/2227?usp=email )
Change subject: route: initialize the table of block-local routes ...................................................................... route: initialize the table of block-local routes add_block_local_item() allocates the routes without clearing them and left table_id unset, so the routes went to a garbage table. Use 0, the default table, like the other internal routes. Change-Id: I1d516b1acee3edc2a69c670d62f49e3cd34d6dc7 Signed-off-by: Razvan Cojocaru <[email protected]> Acked-by: Gert Doering <[email protected]> Gerrit URL: https://gerrit.openvpn.net/c/openvpn/+/2227 Message-Id: <[email protected]> URL: https://www.mail-archive.com/[email protected]/msg41757.html Signed-off-by: Gert Doering <[email protected]> --- M src/openvpn/route.c 1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/src/openvpn/route.c b/src/openvpn/route.c index 4dfdd5f..5b1d012 100644 --- a/src/openvpn/route.c +++ b/src/openvpn/route.c @@ -557,6 +557,7 @@ /* split a route into two smaller blocking routes, and direct them to target */ l2 = ((~gateway->netmask) + 1) >> 1; r1->flags = RT_DEFINED; + r1->table_id = 0; r1->gateway = target; r1->network = gateway->addr & gateway->netmask; r1->netmask = ~(l2 - 1); -- To view, visit https://gerrit.openvpn.net/c/openvpn/+/2227?usp=email To unsubscribe, or for help writing mail filters, visit https://gerrit.openvpn.net/settings?usp=email Gerrit-MessageType: merged Gerrit-Project: openvpn Gerrit-Branch: release/2.7 Gerrit-Change-Id: I1d516b1acee3edc2a69c670d62f49e3cd34d6dc7 Gerrit-Change-Number: 2227 Gerrit-PatchSet: 2 Gerrit-Owner: Răzvan Cojocaru <[email protected]> Gerrit-Reviewer: Arne Schwabe <[email protected]> Gerrit-Reviewer: Gert Doering <[email protected]> Gerrit-CC: openvpn-devel <[email protected]>
_______________________________________________ Openvpn-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/openvpn-devel
