]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: sh running config is not considering values provided via -e for max-paths
authorvdhingra <vdhingra@vmware.com>
Thu, 19 Nov 2020 12:46:39 +0000 (04:46 -0800)
committerIgor Ryzhov <iryzhov@nfware.com>
Fri, 27 Nov 2020 14:47:54 +0000 (17:47 +0300)
commit276165a9ea65fbee1fc8d12d4e37680088b8e758
treedc62cfbd68c8e8e75da7d897d9f4c7919f26ee5f
parent9af291fe701a199cdae8c922ad6b7c1bd9645ae7
bgpd: sh running config is not considering values provided via -e for max-paths

problem
1. run the bgp with -e1 option
2. c t
   router bgp 100
3. show running config
    !
     address-family ipv6 multicast
      maximum-paths 1
      maximum-paths ibgp 1
     exit-address-family
    !
address families should not dump maximum-paths if there
value is same as value provided at run time.

fix
if the maxpaths_ebgp value is same as multipath_num global
object, don't dump maximum-paths.

Signed-off-by: vishaldhingra <vdhingra@vmware.com>
bgpd/bgp_vty.c