zebra-non-default-table-for-static-routes.patch

Make static IPv6 routes respect non-default routing tables.

Signed-off-by: Nolan Leake <nolan@cumulusnetworks.com>
Reviewed-by: Shrijeet Mukherjee <shm@cumulusnetworks.com>
This commit is contained in:
Donald Sharp 2015-05-19 16:37:41 -07:00
parent cf744958ba
commit 4595531e1d

View 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)