diff options
| author | sarita patra <saritap@vmware.com> | 2022-04-27 01:23:31 -0700 |
|---|---|---|
| committer | Sarita Patra <saritap@vmware.com> | 2022-07-06 02:41:47 -0700 |
| commit | 122c31403efb53087da4ad7a807b21c86f3a09a9 (patch) | |
| tree | ec0b6f1bb4e0eb19d9a269ae29c4e18f11a7da57 /pimd/pim_vxlan.c | |
| parent | 144035b741733d450a992700c95785492c41e1df (diff) | |
pim6d: Adjust rpf_addr in pim_vxlan_orig_mr_up_add
In this PR, we are handling the pim_vxlan_orig_mr_up_add()
after rpf_addr modified from prefix to pim_addr.
Signed-off-by: sarita patra <saritap@vmware.com>
Diffstat (limited to 'pimd/pim_vxlan.c')
| -rw-r--r-- | pimd/pim_vxlan.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/pimd/pim_vxlan.c b/pimd/pim_vxlan.c index 3565be35bd..d6bfc0a256 100644 --- a/pimd/pim_vxlan.c +++ b/pimd/pim_vxlan.c @@ -303,7 +303,6 @@ static void pim_vxlan_orig_mr_up_add(struct pim_vxlan_sg *vxlan_sg) struct pim_upstream *up; struct pim_interface *term_ifp; int flags = 0; - struct prefix nht_p; struct pim_instance *pim = vxlan_sg->pim; if (vxlan_sg->up) { @@ -353,9 +352,8 @@ static void pim_vxlan_orig_mr_up_add(struct pim_vxlan_sg *vxlan_sg) * iif */ if (!PIM_UPSTREAM_FLAG_TEST_STATIC_IIF(up->flags)) { - pim_addr_to_prefix(&nht_p, up->upstream_addr); - pim_delete_tracked_nexthop(vxlan_sg->pim, &nht_p, up, - NULL); + pim_delete_tracked_nexthop( + vxlan_sg->pim, &up->upstream_addr, up, NULL); } /* We are acting FHR; clear out use_rpt setting if any */ pim_upstream_update_use_rpt(up, false /*update_mroute*/); |
