summaryrefslogtreecommitdiffstats
path: root/pimd/pim_rpf.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-06-18 02:43:21 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-06-18 02:43:21 +0200
commit744d91b3c6bfec40f78f97be34a2301dc9a5fbf5 (patch)
treed619170c1168861ff128710160100e412f6fe5cf /pimd/pim_rpf.c
parentpimd: Remove unneeded shell scripts (diff)
downloadfrr-744d91b3c6bfec40f78f97be34a2301dc9a5fbf5.tar.xz
frr-744d91b3c6bfec40f78f97be34a2301dc9a5fbf5.zip
pimd: Separate pim vif index spot from ifindex
Allow pim to separate out the pim vif index from the ifindex. This change will allow pim to work with up to 255(MAXVIFS) interfaces, while also allowing the interface ifindex to be whatever number it needs to be. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_rpf.c')
-rw-r--r--pimd/pim_rpf.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_rpf.c b/pimd/pim_rpf.c
index 354fd664c..11d846448 100644
--- a/pimd/pim_rpf.c
+++ b/pimd/pim_rpf.c
@@ -22,6 +22,8 @@
#include <zebra.h>
+#include "if.h"
+
#include "log.h"
#include "prefix.h"
#include "memory.h"