summaryrefslogtreecommitdiffstats
path: root/pimd/pim_rpf.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-06-17 21:37:49 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-17 21:40:29 +0200
commit651d0f713ef79c693b3e28a0aa591a394365a4de (patch)
tree6c14192c7b5b177d943254fbaf6b467e179541f8 /pimd/pim_rpf.h
parentlib: Remove 'show memory pim' unused command (diff)
downloadfrr-651d0f713ef79c693b3e28a0aa591a394365a4de.tar.xz
frr-651d0f713ef79c693b3e28a0aa591a394365a4de.zip
pim: Fix NOCACHE to use incoming interface
When the kernel sends a NOCACHE message to pim we were looking up the interface to use for the incoming multicast packet based upon the source. No need to do that trust that the kernel has properly identified it and use that. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_rpf.h')
-rw-r--r--pimd/pim_rpf.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/pimd/pim_rpf.h b/pimd/pim_rpf.h
index 078e89f3e..72cc7ba21 100644
--- a/pimd/pim_rpf.h
+++ b/pimd/pim_rpf.h
@@ -29,8 +29,9 @@
#include "pim_neighbor.h"
int pim_nexthop_lookup(struct pim_nexthop *nexthop,
- struct in_addr addr);
+ 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 in_addr *old_rpf_addr,
+ struct interface *incoming);
#endif /* PIM_RPF_H */