diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2021-10-26 07:59:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-10-26 07:59:39 +0200 |
commit | 95bbb5e652d015eca6ab90c314d62b69c921b46e (patch) | |
tree | de6a5bb3e402a54460ee0b82bfbc6c723749cca5 /bgpd/bgp_vty.c | |
parent | Merge pull request #9883 from pguibert6WIND/iface_deleted_omitted_gre_tundest (diff) | |
parent | bgpd: Reset dynamic peer counter (diff) | |
download | frr-95bbb5e652d015eca6ab90c314d62b69c921b46e.tar.xz frr-95bbb5e652d015eca6ab90c314d62b69c921b46e.zip |
Merge pull request #9873 from bhinin/dynamic_peer_count_reset
bgpd: Reset dynamic peer counter
Diffstat (limited to 'bgpd/bgp_vty.c')
-rw-r--r-- | bgpd/bgp_vty.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/bgpd/bgp_vty.c b/bgpd/bgp_vty.c index 158a5f30b..772e20dc8 100644 --- a/bgpd/bgp_vty.c +++ b/bgpd/bgp_vty.c @@ -10241,6 +10241,7 @@ static int bgp_show_summary(struct vty *vty, struct bgp *bgp, int afi, int safi, count = 0; /* Reset the value as its used again */ filtered_count = 0; + dn_count = 0; for (ALL_LIST_ELEMENTS(bgp->peer, node, nnode, peer)) { if (!CHECK_FLAG(peer->flags, PEER_FLAG_CONFIG_NODE)) continue; |