summaryrefslogtreecommitdiffstats
path: root/pimd/pim_pim.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-09-14 17:24:06 +0200
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-12-22 02:26:09 +0100
commit7b2c4d167e1b6ac3e8391f2492cfadc756126542 (patch)
treeb66fe1abd01de95e46684d84b9ff7e1425b67924 /pimd/pim_pim.h
parentPIM: json support for "show ip pim" commands (diff)
downloadfrr-7b2c4d167e1b6ac3e8391f2492cfadc756126542.tar.xz
frr-7b2c4d167e1b6ac3e8391f2492cfadc756126542.zip
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 fad572a12..abb3e50c0 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 */