diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-05-20 13:43:58 -0400 |
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2017-07-24 13:51:36 -0400 |
| commit | d9c9a9ee063076ebc5df578049bf95cc19a35d2d (patch) | |
| tree | 44419e3a6dd73941403b5caa08d16b08952933ac /pimd/pim_mroute.c | |
| parent | 9b29ea95fc5b03de64cf9de55a89894deaed17e7 (diff) | |
pimd: Convert pim_rp.c to use 'struct pim_instance *'
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_mroute.c')
| -rw-r--r-- | pimd/pim_mroute.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pimd/pim_mroute.c b/pimd/pim_mroute.c index c77f312c98..8b9269518c 100644 --- a/pimd/pim_mroute.c +++ b/pimd/pim_mroute.c @@ -462,8 +462,8 @@ static int pim_mroute_msg_wrvifwhole(int fd, struct interface *ifp, */ if (!PIM_UPSTREAM_FLAG_TEST_FHR(up->flags)) { // No if channel, but upstream we are at the RP. - if (pim_nexthop_lookup(&source, up->upstream_register, - 0) + if (pim_nexthop_lookup(pim_ifp->pim, &source, + up->upstream_register, 0) == 0) pim_register_stop_send(source.interface, &sg, pim_ifp->primary_address, @@ -477,8 +477,8 @@ static int pim_mroute_msg_wrvifwhole(int fd, struct interface *ifp, __PRETTY_FUNCTION__); pim_upstream_set_sptbit(up, ifp); } else { - if (I_am_RP(up->sg.grp)) { - if (pim_nexthop_lookup(&source, + if (I_am_RP(pim_ifp->pim, up->sg.grp)) { + if (pim_nexthop_lookup(pim_ifp->pim, &source, up->upstream_register, 0) == 0) pim_register_stop_send( |
