]> git.puffer.fish Git - mirror/frr.git/commitdiff
bgpd: actually set maxpaths
authorQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 8 Nov 2016 20:46:47 +0000 (20:46 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Tue, 8 Nov 2016 20:46:47 +0000 (20:46 +0000)
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
bgpd/bgp_vty.c

index 0203f3647d52185a6d30954fa418623f413d7742..5cc4a4f7e18c2745645e5b45c11862e9c62dcaa7 100644 (file)
@@ -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