summaryrefslogtreecommitdiffstats
path: root/zebra
diff options
context:
space:
mode:
authorStephen Worley <sworley@nvidia.com>2022-08-31 18:35:57 +0200
committerStephen Worley <sworley@nvidia.com>2023-02-14 00:12:05 +0100
commit7e79dcefcbeb88ce557f80e610d1061e5b7fa66f (patch)
treeee797c2d85b105076f31768d40778da8dd60e433 /zebra
parentzebra: handle ipv6-mapped-ipv4 with DVNI (diff)
downloadfrr-7e79dcefcbeb88ce557f80e610d1061e5b7fa66f.tar.xz
frr-7e79dcefcbeb88ce557f80e610d1061e5b7fa66f.zip
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>
Diffstat (limited to 'zebra')
-rw-r--r--zebra/zebra_vxlan.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c
index f4090b6d2..ae80931c6 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)