summaryrefslogtreecommitdiffstats
path: root/pimd/pim_msg.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_msg.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_msg.c')
-rw-r--r--pimd/pim_msg.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pimd/pim_msg.c b/pimd/pim_msg.c
index 8ead7ce64..aa0433a2e 100644
--- a/pimd/pim_msg.c
+++ b/pimd/pim_msg.c
@@ -22,6 +22,8 @@
#include <zebra.h>
+#include "if.h"
+
#include "pimd.h"
#include "pim_pim.h"
#include "pim_msg.h"