diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-04-01 18:31:28 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-04-02 14:20:02 +0200 |
commit | c9cd7fbc3f4e0c7722897db71220ae997de1975f (patch) | |
tree | 12df5a07b3bcc7f9ec2d3b668314d995a0d18250 /pimd/pim_neighbor.c | |
parent | pimd: Remove pim_resolve_upstream_nh (diff) | |
download | frr-c9cd7fbc3f4e0c7722897db71220ae997de1975f.tar.xz frr-c9cd7fbc3f4e0c7722897db71220ae997de1975f.zip |
pimd: Limit lookup of neighbor since we know we have one
When a new pim neighbor comes up, we need to go through and
mark nexthops that we have received from zebra for reachability
tracking so we can refigure stuff. If we pass in the new neighbor
we can limit the search to those nexthops out the interface that
the new neighbor has come up.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_neighbor.c')
-rw-r--r-- | pimd/pim_neighbor.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_neighbor.c b/pimd/pim_neighbor.c index 436f2dec2..a63b09fc1 100644 --- a/pimd/pim_neighbor.c +++ b/pimd/pim_neighbor.c @@ -540,7 +540,7 @@ 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_ifp->pim); + pim_resolve_rp_nh(pim_ifp->pim, neigh); pim_rp_setup(pim_ifp->pim); |