]> git.puffer.fish Git - matthieu/frr.git/commitdiff
zebra-non-default-table-for-static-routes.patch
authorDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 19 May 2015 23:37:41 +0000 (16:37 -0700)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Tue, 19 May 2015 23:37:41 +0000 (16:37 -0700)
Make static IPv6 routes respect non-default routing tables.

Signed-off-by: Nolan Leake <nolan@cumulusnetworks.com>
Reviewed-by: Shrijeet Mukherjee <shm@cumulusnetworks.com>
zebra/zebra_rib.c

index dc7e1ca19fa8359c05735ecf59fb3fb0ab3ebab6..93edc23d7292fb6269f8c892c64a8a3d93be52c4 100644 (file)
@@ -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)