summaryrefslogtreecommitdiff
path: root/pimd/pim_pim.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-09-14 11:24:06 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-21 20:26:09 -0500
commit7b2c4d167e1b6ac3e8391f2492cfadc756126542 (patch)
treeb66fe1abd01de95e46684d84b9ff7e1425b67924 /pimd/pim_pim.h
parent9bf3c63317478b9a9e954019eb04b87c9f128b1b (diff)
pimd: Use MULTIPATH_NUM for maxpaths
When looking up nexthops for a address, just use the MULTIPATH_NUM as the number allowed to receive instead of an arbitrary limit of 20 paths. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'pimd/pim_pim.h')
-rw-r--r--pimd/pim_pim.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/pimd/pim_pim.h b/pimd/pim_pim.h
index fad572a125..abb3e50c00 100644
--- a/pimd/pim_pim.h
+++ b/pimd/pim_pim.h
@@ -29,8 +29,6 @@
#define PIM_PIM_BUFSIZE_READ (20000)
#define PIM_PIM_BUFSIZE_WRITE (20000)
-#define PIM_NEXTHOP_IFINDEX_TAB_SIZE (20)
-
#define PIM_DEFAULT_HELLO_PERIOD (30) /* seconds, RFC 4601: 4.11 */
#define PIM_DEFAULT_TRIGGERED_HELLO_DELAY (5) /* seconds, RFC 4601: 4.11 */
#define PIM_DEFAULT_DR_PRIORITY (1) /* RFC 4601: 4.3.1 */