diff options
author | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-09-15 16:18:28 +0200 |
---|---|---|
committer | Donald Sharp <sharpd@cumulusnetworks.com> | 2016-12-22 02:26:09 +0100 |
commit | 63b8f7a35e2a374081d563235cd617690339b425 (patch) | |
tree | cd8eef5bc551192eaa3c1cf6019a371152a95bf9 /pimd/pim_rpf.h | |
parent | pimd: Allow loopbacks to resolve (diff) | |
download | frr-63b8f7a35e2a374081d563235cd617690339b425.tar.xz frr-63b8f7a35e2a374081d563235cd617690339b425.zip |
pimd: Rework approach for needing nbrs
Pim sometimes needs the upstream rpf lookup to
only take into account if we have a nbr out
the selected interface or not. Move
the code for this to a better spot so
we can make a more intelligent decision
here.
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_rpf.h')
-rw-r--r-- | pimd/pim_rpf.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pimd/pim_rpf.h b/pimd/pim_rpf.h index fddc74a72..b93c93411 100644 --- a/pimd/pim_rpf.h +++ b/pimd/pim_rpf.h @@ -59,7 +59,7 @@ enum pim_rpf_result { struct pim_upstream; -int pim_nexthop_lookup(struct pim_nexthop *nexthop, struct in_addr addr); +int pim_nexthop_lookup(struct pim_nexthop *nexthop, struct in_addr addr, int neighbor_needed); enum pim_rpf_result pim_rpf_update(struct pim_upstream *up, struct in_addr *old_rpf_addr); int pim_rpf_addr_is_inaddr_none (struct pim_rpf *rpf); |