From 4595531e1d33df57f541ac605a0bc0bcb6ce886c Mon Sep 17 00:00:00 2001 From: Donald Sharp Date: Tue, 19 May 2015 16:37:41 -0700 Subject: [PATCH] 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 --- zebra/zebra_rib.c | 1 + 1 file changed, 1 insertion(+) 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) -- 2.39.5