mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-08 03:28:31 +00:00
Merge pull request #7565 from vishaldhingra/bgp_nb
bgpd: sh running config is not considering values provided via -e for max-paths
This commit is contained in:
commit
4f3e4669f0
@ -2352,12 +2352,12 @@ ALIAS_HIDDEN(no_bgp_maxpaths_ibgp, no_bgp_maxpaths_ibgp_hidden_cmd,
|
|||||||
static void bgp_config_write_maxpaths(struct vty *vty, struct bgp *bgp,
|
static void bgp_config_write_maxpaths(struct vty *vty, struct bgp *bgp,
|
||||||
afi_t afi, safi_t safi)
|
afi_t afi, safi_t safi)
|
||||||
{
|
{
|
||||||
if (bgp->maxpaths[afi][safi].maxpaths_ebgp != MULTIPATH_NUM) {
|
if (bgp->maxpaths[afi][safi].maxpaths_ebgp != multipath_num) {
|
||||||
vty_out(vty, " maximum-paths %d\n",
|
vty_out(vty, " maximum-paths %d\n",
|
||||||
bgp->maxpaths[afi][safi].maxpaths_ebgp);
|
bgp->maxpaths[afi][safi].maxpaths_ebgp);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (bgp->maxpaths[afi][safi].maxpaths_ibgp != MULTIPATH_NUM) {
|
if (bgp->maxpaths[afi][safi].maxpaths_ibgp != multipath_num) {
|
||||||
vty_out(vty, " maximum-paths ibgp %d",
|
vty_out(vty, " maximum-paths ibgp %d",
|
||||||
bgp->maxpaths[afi][safi].maxpaths_ibgp);
|
bgp->maxpaths[afi][safi].maxpaths_ibgp);
|
||||||
if (CHECK_FLAG(bgp->maxpaths[afi][safi].ibgp_flags,
|
if (CHECK_FLAG(bgp->maxpaths[afi][safi].ibgp_flags,
|
||||||
|
Loading…
Reference in New Issue
Block a user