bgpd: actually set maxpaths

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2016-11-08 20:46:47 +00:00
parent 4c9dee9878
commit c59f2066b6

View 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