diff options
author | sarita patra <saritap@vmware.com> | 2022-05-23 14:18:28 +0200 |
---|---|---|
committer | Sarita Patra <saritap@vmware.com> | 2022-07-06 11:56:43 +0200 |
commit | e6e530063649d1197d054c8b87580f5a64407916 (patch) | |
tree | e2cb93a2fc60730b87afb709402a4c200128fd49 /pimd/pim_rpf.c | |
parent | pimd: Adjust rpf_addr in show commands (diff) | |
download | frr-e6e530063649d1197d054c8b87580f5a64407916.tar.xz frr-e6e530063649d1197d054c8b87580f5a64407916.zip |
pim6d: Pass pim_addr for pim_nht callbacks.
For pim callbacks, we pass pim_addr as value, not pointer.
So making it consistent for pim_nht callbacks.
Signed-off-by: sarita patra <saritap@vmware.com>
Diffstat (limited to 'pimd/pim_rpf.c')
-rw-r--r-- | pimd/pim_rpf.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pimd/pim_rpf.c b/pimd/pim_rpf.c index 13a7c12dd..a28278c58 100644 --- a/pimd/pim_rpf.c +++ b/pimd/pim_rpf.c @@ -231,9 +231,9 @@ enum pim_rpf_result pim_rpf_update(struct pim_instance *pim, if ((pim_addr_is_any(up->sg.src) && I_am_RP(pim, up->sg.grp)) || PIM_UPSTREAM_FLAG_TEST_FHR(up->flags)) neigh_needed = false; - pim_find_or_track_nexthop(pim, &up->upstream_addr, up, NULL, NULL); - if (!pim_ecmp_nexthop_lookup(pim, &rpf->source_nexthop, &src, &grp, - neigh_needed)) { + pim_find_or_track_nexthop(pim, up->upstream_addr, up, NULL, NULL); + if (!pim_ecmp_nexthop_lookup(pim, &rpf->source_nexthop, src, &grp, + neigh_needed)) { /* Route is Deleted in Zebra, reset the stored NH data */ pim_upstream_rpf_clear(pim, up); pim_rpf_cost_change(pim, up, saved_mrib_route_metric); |