diff options
| author | Donald Sharp <sharpd@nvidia.com> | 2021-09-24 16:36:27 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@nvidia.com> | 2021-09-27 12:38:08 -0400 |
| commit | d597533a9dcabc298a53112c22e94c0264cd3f39 (patch) | |
| tree | b86f06ee542b1f6920954687494336a60733cf5d /zebra/zebra_rib.c | |
| parent | 6cd9a93dddba199e68c73baca62337b704f32e14 (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.c | 3 |
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; |
