mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-14 02:53:55 +00:00
zebra: use new vni_info->access_vlan structs
Use new vni_info->access_vlan struct accessors for network mac add code. Signed-off-by: Stephen Worley <sworley@nvidia.com>
This commit is contained in:
parent
fb99ca86c4
commit
7e79dcefcb
@ -4370,7 +4370,8 @@ int zebra_vxlan_dp_network_mac_add(struct interface *ifp,
|
||||
}
|
||||
|
||||
/* Get vxlan's vid for netlink message has no it. */
|
||||
vid = ((struct zebra_if *)ifp->info)->l2info.vxl.access_vlan;
|
||||
vid = ((struct zebra_if *)ifp->info)
|
||||
->l2info.vxl.vni_info.vni.access_vlan;
|
||||
|
||||
/* if remote mac delete the local entry */
|
||||
if (!nhg_id || !zebra_evpn_nhg_is_local_es(nhg_id, &es)
|
||||
|
Loading…
Reference in New Issue
Block a user