summaryrefslogtreecommitdiff
path: root/pimd/pim_rpf.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-08-19 13:25:20 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-21 20:26:07 -0500
commitf24405b1e81bf5a269936fc03187c20853e6056d (patch)
treed3718d2c18c0873c5c18dafb31db583e5f229c3d /pimd/pim_rpf.h
parent7fe1f66279eca025c39e401d1c9e8549c49fa284 (diff)
pimd - Fix rpf lookup to what it was originally
I tried to be smart and skirt around rpf lookup if I knew the incoming interface. This turns out to be not necessarily a good thing because we can easily have asymetrical routing. This fix removes the attempt to cache the ifp we received the incoming packet on and just lets the lookup work like it should. Additionally it removes the weird hardcoding of the rpf interface from the register stuff. Ticket: CM-12530 Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> reb
Diffstat (limited to 'pimd/pim_rpf.h')
-rw-r--r--pimd/pim_rpf.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/pimd/pim_rpf.h b/pimd/pim_rpf.h
index 86c33c2e45..ab16039a29 100644
--- a/pimd/pim_rpf.h
+++ b/pimd/pim_rpf.h
@@ -27,10 +27,7 @@
#include "pim_upstream.h"
#include "pim_neighbor.h"
-int pim_nexthop_lookup(struct pim_nexthop *nexthop,
- struct in_addr addr, struct interface *incoming);
-enum pim_rpf_result pim_rpf_update(struct pim_upstream *up,
- struct in_addr *old_rpf_addr,
- struct interface *incoming);
+int pim_nexthop_lookup(struct pim_nexthop *nexthop, struct in_addr addr);
+enum pim_rpf_result pim_rpf_update(struct pim_upstream *up, struct in_addr *old_rpf_addr);
#endif /* PIM_RPF_H */