summaryrefslogtreecommitdiff
path: root/zebra/zebra_rib.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@nvidia.com>2021-09-24 16:36:27 -0400
committerDonald Sharp <sharpd@nvidia.com>2021-09-27 12:38:08 -0400
commitd597533a9dcabc298a53112c22e94c0264cd3f39 (patch)
treeb86f06ee542b1f6920954687494336a60733cf5d /zebra/zebra_rib.c
parent6cd9a93dddba199e68c73baca62337b704f32e14 (diff)
zebra: Start carrying safi for rnh processing
PIM is going to need to be able to send down the address it is trying to resolve in the multicast rib. We need a way to signal this to the end developer. Start the conversion by adding the ability to have a safi. But only allow SAFI_UNICAST at the moment. Signed-off-by: Donald Sharp <sharpd@nvidia.com>
Diffstat (limited to 'zebra/zebra_rib.c')
-rw-r--r--zebra/zebra_rib.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_rib.c b/zebra/zebra_rib.c
index 5230f0a4d1..12e82dde94 100644
--- a/zebra/zebra_rib.c
+++ b/zebra/zebra_rib.c
@@ -754,7 +754,8 @@ void zebra_rib_evaluate_rn_nexthops(struct route_node *rn, uint32_t seq)
}
rnh->seqno = seq;
- zebra_evaluate_rnh(zvrf, family2afi(p->family), 0, p);
+ zebra_evaluate_rnh(zvrf, family2afi(p->family), 0, p,
+ rnh->safi);
}
rn = rn->parent;