summaryrefslogtreecommitdiff
path: root/zebra
diff options
context:
space:
mode:
Diffstat (limited to 'zebra')
-rw-r--r--zebra/zebra_rib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 05ff1e10..16102e54 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -1038,6 +1038,7 @@ rib_add_ipv4 (int type, int flags, struct prefix_ipv4 *p,
rib->distance = distance;
rib->flags = flags;
rib->metric = metric;
+ rib->table = vrf_id;
rib->nexthop_num = 0;
rib->uptime = time (NULL);
@@ -1682,6 +1683,7 @@ rib_add_ipv6 (int type, int flags, struct prefix_ipv6 *p,
rib->distance = distance;
rib->flags = flags;
rib->metric = metric;
+ rib->table = vrf_id;
rib->nexthop_num = 0;
rib->uptime = time (NULL);