diff options
| author | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-11-08 20:46:47 +0000 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2016-11-08 20:46:47 +0000 |
| commit | c59f2066b636fde5110ea5d16ea5dc4647ea04f1 (patch) | |
| tree | 705015c680dc37921d5d3fef20fa657f27f508e5 | |
| parent | 4c9dee98789834e86b8649b9c1c162860b698f35 (diff) | |
bgpd: actually set maxpaths
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
| -rw-r--r-- | bgpd/bgp_vty.c | 2 |
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 |
