summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_mpath.h
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2015-12-08 14:42:36 +0100
committerDonald Sharp <sharpd@cumulusnetworks.com>2015-12-08 19:06:33 +0100
commitd5b77cc20d60238aea03c600e912b99022ea06dd (patch)
tree2fbfb156eb1728281b5d5a2879d07ea4239a7115 /bgpd/bgp_mpath.h
parentbuild: Make MULTIPATH_NUM a config.h value (diff)
downloadfrr-d5b77cc20d60238aea03c600e912b99022ea06dd.tar.xz
frr-d5b77cc20d60238aea03c600e912b99022ea06dd.zip
bgpd: Use actual MULTIPATH_NUM as the limitor
BGP uses a second #define that is equal to MULTIPATH_NUM. There is no point in having a different #define. Just consolidate. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_mpath.h')
-rw-r--r--bgpd/bgp_mpath.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/bgpd/bgp_mpath.h b/bgpd/bgp_mpath.h
index 1e112f0ec..9120ca343 100644
--- a/bgpd/bgp_mpath.h
+++ b/bgpd/bgp_mpath.h
@@ -27,9 +27,6 @@
/* Limit on number of configured maxpaths */
#define BGP_MAXIMUM_MAXPATHS 255
-/* BGP default maximum-paths */
-#define BGP_DEFAULT_MAXPATHS MULTIPATH_NUM
-
/* Supplemental information linked to bgp_info for keeping track of
* multipath selections, lazily allocated to save memory
*/