diff --git a/zebra/zebra_evpn_arp_nd.c b/zebra/zebra_evpn_arp_nd.c index 30909be34ba2..11f54ff67fc6 100644 --- a/zebra/zebra_evpn_arp_nd.c +++ b/zebra/zebra_evpn_arp_nd.c @@ -243,8 +243,7 @@ static int zebra_evpn_arp_nd_proc(struct zebra_if *zif, uint16_t vlan, return 0; } - acc_bd = zebra_evpn_acc_vl_find(vlan ? vlan : zif->pvid, - zif->brslave_info.br_if); + acc_bd = zebra_evpn_acc_vl_find(vlan ? vlan : zif->pvid, zif->ifp); if (!acc_bd || !acc_bd->zevpn) { ++zevpn_arp_nd_info.stat.vni_missing; if (IS_ZEBRA_DEBUG_EVPN_MH_ARP_ND_PKT)