]> git.proxmox.com Git - mirror_frr.git/commit
bgpd: fix bgp statistics for l2vpn evpn
authorTrey Aspelund <taspelund@nvidia.com>
Thu, 4 Mar 2021 02:05:56 +0000 (02:05 +0000)
committerTrey Aspelund <taspelund@nvidia.com>
Thu, 4 Mar 2021 02:05:56 +0000 (02:05 +0000)
commit3ba7b4aff0256408b868c786cbc9d53ba1a91c6a
tree86c4cd7a96dca79fe1bc92b7345dc74cffcf3cb2
parent5a57c2f935114395ecbf01014a2ec2251547207f
bgpd: fix bgp statistics for l2vpn evpn

'show bgp l2vpn evpn statistics' was returning 0 for all stats
because bgp_table_stats_walker bailed out if afi != AFI_IP or AFI_IP6.
Add case condition to catch AFI_L2VPN.

Signed-off-by: Trey Aspelund <taspelund@nvidia.com>
bgpd/bgp_route.c