]> git.proxmox.com Git - mirror_frr.git/blobdiff - pimd/pim_neighbor.c
pimd: pim_rp.c -> convert pimg to pim
[mirror_frr.git] / pimd / pim_neighbor.c
index 70341a37541ba18d7a9695f1d84c98f6fe282972..90652af2dda2d5872224581f4f6e44f2f3c9e656 100644 (file)
@@ -553,9 +553,9 @@ pim_neighbor_add(struct interface *ifp, struct in_addr source_addr,
           Upon PIM neighbor UP, iterate all RPs and update
           nexthop cache with this neighbor.
         */
-       pim_resolve_rp_nh();
+       pim_resolve_rp_nh(pim_ifp->pim);
 
-       pim_rp_setup();
+       pim_rp_setup(pim_ifp->pim);
 
        pim_neighbor_rpf_update();
        return neigh;