diff options
author | sarita patra <saritap@vmware.com> | 2022-04-27 10:22:21 +0200 |
---|---|---|
committer | Sarita Patra <saritap@vmware.com> | 2022-07-06 11:41:47 +0200 |
commit | 144035b741733d450a992700c95785492c41e1df (patch) | |
tree | f3c9af3eada435c7fe03ace7a1df2269c8ff046c /pimd/pim_zebra.c | |
parent | pim6d: Adjust rpf_addr in pim_upstream (diff) | |
download | frr-144035b741733d450a992700c95785492c41e1df.tar.xz frr-144035b741733d450a992700c95785492c41e1df.zip |
pim6d: Adjust rpf_addr in pim_zebra
In this PR, we are handling the pim_zebra code
after rpf_addr modified from prefix to pim_addr.
Signed-off-by: sarita patra <saritap@vmware.com>
Diffstat (limited to '')
-rw-r--r-- | pimd/pim_zebra.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pimd/pim_zebra.c b/pimd/pim_zebra.c index 7f217d9c2..2c76fd686 100644 --- a/pimd/pim_zebra.c +++ b/pimd/pim_zebra.c @@ -255,7 +255,7 @@ void pim_zebra_update_all_interfaces(struct pim_instance *pim) struct pim_rpf rpf; rpf.source_nexthop.interface = ifp; - pim_addr_to_prefix(&rpf.rpf_addr, us->address); + rpf.rpf_addr = us->address; pim_joinprune_send(&rpf, us->us); pim_jp_agg_clear_group(us->us); } @@ -269,8 +269,8 @@ void pim_zebra_upstream_rpf_changed(struct pim_instance *pim, if (old->source_nexthop.interface) { struct pim_neighbor *nbr; - nbr = pim_neighbor_find_prefix(old->source_nexthop.interface, - &old->rpf_addr); + nbr = pim_neighbor_find(old->source_nexthop.interface, + old->rpf_addr); if (nbr) pim_jp_agg_remove_group(nbr->upstream_jp_agg, up, nbr); |