From: Quentin Young Date: Tue, 8 Nov 2016 20:46:47 +0000 (+0000) Subject: bgpd: actually set maxpaths X-Git-Tag: frr-3.0-branchpoint~129^2~44 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=c59f2066b636fde5110ea5d16ea5dc4647ea04f1;p=matthieu%2Ffrr.git bgpd: actually set maxpaths Signed-off-by: Quentin Young --- 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