diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-04-01 12:31:28 -0400 | 
|---|---|---|
| committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2019-04-02 08:20:02 -0400 | 
| commit | c9cd7fbc3f4e0c7722897db71220ae997de1975f (patch) | |
| tree | 12df5a07b3bcc7f9ec2d3b668314d995a0d18250 /pimd/pim_rp.h | |
| parent | 377e4f99bbbd3d38ddd1429fb5aaef4322283ffd (diff) | |
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_rp.h')
| -rw-r--r-- | pimd/pim_rp.h | 2 | 
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_rp.h b/pimd/pim_rp.h index e0f8e16be0..402ec30aba 100644 --- a/pimd/pim_rp.h +++ b/pimd/pim_rp.h @@ -68,7 +68,7 @@ struct pim_rpf *pim_rp_g(struct pim_instance *pim, struct in_addr group);  void pim_rp_show_information(struct pim_instance *pim, struct vty *vty,  			     bool uj); -void pim_resolve_rp_nh(struct pim_instance *pim); +void pim_resolve_rp_nh(struct pim_instance *pim, struct pim_neighbor *nbr);  int pim_rp_list_cmp(void *v1, void *v2);  struct rp_info *pim_rp_find_match_group(struct pim_instance *pim,  					const struct prefix *group);  | 
