summaryrefslogtreecommitdiffstats
path: root/bgpd
diff options
context:
space:
mode:
authorIgor Ryzhov <iryzhov@nfware.com>2021-08-02 12:43:28 +0200
committerIgor Ryzhov <iryzhov@nfware.com>2021-08-03 20:54:47 +0200
commit5979fde0d84c0ae4109dd179d1430ad2613aeeb2 (patch)
tree3def016879f2cf88625051c756aa5d3b87296cbe /bgpd
parentRevert "bgpd: Consolidate dampening show run output with the rest of that code" (diff)
downloadfrr-5979fde0d84c0ae4109dd179d1430ad2613aeeb2.tar.xz
frr-5979fde0d84c0ae4109dd179d1430ad2613aeeb2.zip
Revert "bgpd: Do not output peer doppleganger dampened output"
This reverts commit 783492c7cdeaca5c73fb2debaeaa0b378ee734de. Signed-off-by: Igor Ryzhov <iryzhov@nfware.com>
Diffstat (limited to 'bgpd')
-rw-r--r--bgpd/bgp_vty.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c
index 6c715f040..712695401 100644
--- a/bgpd/bgp_vty.c
+++ b/bgpd/bgp_vty.c
@@ -17814,9 +17814,8 @@ static void bgp_config_write_family(struct vty *vty, struct bgp *bgp, afi_t afi,
PEER_FLAG_CONFIG_DAMPENING))
bgp_config_write_peer_damp(vty, group->conf, afi, safi);
for (ALL_LIST_ELEMENTS_RO(bgp->peer, node, peer))
- if (CHECK_FLAG(peer->flags, PEER_FLAG_CONFIG_NODE)
- && peer_af_flag_check(peer, afi, safi,
- PEER_FLAG_CONFIG_DAMPENING))
+ if (peer_af_flag_check(peer, afi, safi,
+ PEER_FLAG_CONFIG_DAMPENING))
bgp_config_write_peer_damp(vty, peer, afi, safi);
for (ALL_LIST_ELEMENTS(bgp->group, node, nnode, group))