mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-06 06:14:35 +00:00
Merge pull request #2748 from chiragshah6/evpn_dev
zebra: display consistant mac count
This commit is contained in:
commit
3688ecb8d9
@ -244,6 +244,7 @@ static uint32_t num_valid_macs(zebra_vni_t *zvni)
|
||||
for (hb = hash->index[i]; hb; hb = hb->next) {
|
||||
mac = (zebra_mac_t *)hb->data;
|
||||
if (CHECK_FLAG(mac->flags, ZEBRA_MAC_REMOTE)
|
||||
|| CHECK_FLAG(mac->flags, ZEBRA_MAC_LOCAL)
|
||||
|| !CHECK_FLAG(mac->flags, ZEBRA_MAC_AUTO))
|
||||
num_macs++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user