summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Walton <dwalton@cumulusnetworks.com>2015-11-20 18:41:51 +0000
committerDaniel Walton <dwalton@cumulusnetworks.com>2015-11-20 18:41:51 +0000
commit99030da1245d5d73d2201cc86970182d7a1cbe7f (patch)
treece0b266619de01cb464cb5faa23357a3bf81d595
parent6a3b3531684a61f8500f6bfc595d649da2296c38 (diff)
Quagga default: BGP enable "maximum-paths 64"
Signed-off-by: Daniel Walton <dwalton@cumulusnetworks.com> Reviewed-by: Donald Sharp <sharpd@cumulusnetworks.com> Ticket: CM-8099
-rw-r--r--bgpd/bgp_route.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 594794da2e..c06d27f351 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -1509,8 +1509,7 @@ bgp_best_selection (struct bgp *bgp, struct bgp_node *rn,
char pfx_buf[INET6_ADDRSTRLEN];
bgp_mp_list_init (&mp_list);
- do_mpath = (mpath_cfg->maxpaths_ebgp != BGP_DEFAULT_MAXPATHS ||
- mpath_cfg->maxpaths_ibgp != BGP_DEFAULT_MAXPATHS);
+ do_mpath = (mpath_cfg->maxpaths_ebgp > 1 || mpath_cfg->maxpaths_ibgp > 1);
debug = bgp_debug_bestpath(&rn->p);