diff options
| author | sarita patra <saritap@vmware.com> | 2022-04-06 22:36:42 -0700 |
|---|---|---|
| committer | sarita patra <saritap@vmware.com> | 2022-04-06 22:36:42 -0700 |
| commit | 0332b088d39c9fe69409b925cdc9d03a9400ce26 (patch) | |
| tree | c05a40d6eb3edf18ab3586eda1eccb0c1d42f9a8 /pimd/pim_msdp.c | |
| parent | 34a466b78c6a94e8c0a1b14ff3c872c09f0c143b (diff) | |
pim6d: Adjust mrib_nexthop_addr msdp code
In this PR, we are handling the msdp code
after mrib_nexthop_addr modified from prefix
to pim_addr.
Signed-off-by: sarita patra <saritap@vmware.com>
Diffstat (limited to 'pimd/pim_msdp.c')
| -rw-r--r-- | pimd/pim_msdp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pimd/pim_msdp.c b/pimd/pim_msdp.c index 7c1c80f71a..10e515cb56 100644 --- a/pimd/pim_msdp.c +++ b/pimd/pim_msdp.c @@ -709,8 +709,8 @@ bool pim_msdp_peer_rpf_check(struct pim_msdp_peer *mp, struct in_addr rp) } /* check if the MSDP peer is the nexthop for the RP */ - if (pim_nexthop_lookup(mp->pim, &nexthop, rp, 0) - && nexthop.mrib_nexthop_addr.u.prefix4.s_addr == mp->peer.s_addr) { + if (pim_nexthop_lookup(mp->pim, &nexthop, rp, 0) && + nexthop.mrib_nexthop_addr.s_addr == mp->peer.s_addr) { return true; } |
