From 7e79dcefcbeb88ce557f80e610d1061e5b7fa66f Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Wed, 31 Aug 2022 12:35:57 -0400 Subject: [PATCH] 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 --- zebra/zebra_vxlan.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c index f4090b6d20..ae80931c69 100644 --- a/zebra/zebra_vxlan.c +++ b/zebra/zebra_vxlan.c @@ -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)