From c59f2066b636fde5110ea5d16ea5dc4647ea04f1 Mon Sep 17 00:00:00 2001 From: Quentin Young Date: Tue, 8 Nov 2016 20:46:47 +0000 Subject: [PATCH] bgpd: actually set maxpaths Signed-off-by: Quentin Young --- bgpd/bgp_vty.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.39.5