Commits

Dinesh G Dutt authored and Paul Jakma committed d1b0991ad84
Make static IPv6 routes respect non-default routing tables.

Signed-off-by: Nolan Leake <nolan@cumulusnetworks.com> Reviewed-by: Shrijeet Mukherjee <shm@cumulusnetworks.com> Reviewed-by: Paul Jakma <paul@opensourcerouting.org>
No tags

zebra/zebra_rib.c

Modified
2909 2909 rib_queue_add (&zebrad, rn);
2910 2910 }
2911 2911 else
2912 2912 {
2913 2913 /* This is new static route. */
2914 2914 rib = XCALLOC (MTYPE_RIB, sizeof (struct rib));
2915 2915
2916 2916 rib->type = ZEBRA_ROUTE_STATIC;
2917 2917 rib->distance = si->distance;
2918 2918 rib->metric = 0;
2919 + rib->table = zebrad.rtm_table_default;
2919 2920 rib->nexthop_num = 0;
2920 2921
2921 2922 switch (si->type)
2922 2923 {
2923 2924 case STATIC_IPV6_GATEWAY:
2924 2925 nexthop_ipv6_add (rib, &si->ipv6);
2925 2926 break;
2926 2927 case STATIC_IPV6_IFNAME:
2927 2928 nexthop_ifname_add (rib, si->ifname);
2928 2929 break;

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut