Merge pull request #8199 from taspelund/evpn_stats

bgpd: fix bgp statistics for l2vpn evpn
This commit is contained in:
Patrick Ruddy 2021-03-04 10:04:26 +00:00 committed by GitHub
commit ddbc1b4dd9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -12385,6 +12385,9 @@ static int bgp_table_stats_walker(struct thread *t)
case AFI_IP6:
space = IPV6_MAX_BITLEN;
break;
case AFI_L2VPN:
space = EVPN_ROUTE_PREFIXLEN;
break;
default:
return 0;
}