From: Donald Sharp Date: Tue, 19 May 2015 23:37:41 +0000 (-0700) Subject: zebra-non-default-table-for-static-routes.patch X-Git-Tag: frr-2.0-rc1~1566 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=4595531e1d33df57f541ac605a0bc0bcb6ce886c;p=mirror%2Ffrr.git zebra-non-default-table-for-static-routes.patch Make static IPv6 routes respect non-default routing tables. Signed-off-by: Nolan Leake Reviewed-by: Shrijeet Mukherjee --- diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c index dc7e1ca19f..93edc23d72 100644 --- a/zebra/zebra_rib.c +++ b/zebra/zebra_rib.c @@ -2910,6 +2910,7 @@ static_install_ipv6 (struct prefix *p, struct static_ipv6 *si) rib->type = ZEBRA_ROUTE_STATIC; rib->distance = si->distance; rib->metric = 0; + rib->table = zebrad.rtm_table_default; rib->nexthop_num = 0; switch (si->type)