summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-11-08 20:46:47 +0000
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-11-08 20:46:47 +0000
commitc59f2066b636fde5110ea5d16ea5dc4647ea04f1 (patch)
tree705015c680dc37921d5d3fef20fa657f27f508e5
parent4c9dee98789834e86b8649b9c1c162860b698f35 (diff)
bgpd: actually set maxpaths
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
-rw-r--r--bgpd/bgp_vty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 0203f3647d..5cc4a4f7e1 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -1018,7 +1018,7 @@ bgp_maxpaths_config_vty (struct vty *vty, int peer_type, const char *mpaths,
if (set)
{
- strtol(mpaths, NULL, 10);
+ maxpaths = strtol(mpaths, NULL, 10);
ret = bgp_maximum_paths_set (bgp, afi, safi, peer_type, maxpaths, options);
}
else