]> git.puffer.fish Git - matthieu/frr.git/commit
bgpd: Reset dynamic peer counter
authorAbhishek Naik <bhini@amazon.com>
Tue, 19 Oct 2021 23:45:26 +0000 (23:45 +0000)
committerAbhishek Naik <bhini@amazon.com>
Tue, 19 Oct 2021 23:50:42 +0000 (23:50 +0000)
commit800867d85e5fae7d41131c2552dec290f2246077
tree31c87f92f3f4d6db6f620e0b6e0d92f94e67521d
parent495047b526207f36c5b4ce359ec14c7b1bb1fa5e
bgpd: Reset dynamic peer counter

Dynamic peer count is inconsistent in
"show bgp summary json" and "show bgp summary failed json" due to
dynamic peer counter 'dn_count' being reused without resetting

Signed-off-by: Abhishek Naik <bhini@amazon.com>
bgpd/bgp_vty.c