summaryrefslogtreecommitdiff
path: root/zebra/zebra_evpn_vxlan.h
diff options
context:
space:
mode:
Diffstat (limited to 'zebra/zebra_evpn_vxlan.h')
-rw-r--r--zebra/zebra_evpn_vxlan.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/zebra/zebra_evpn_vxlan.h b/zebra/zebra_evpn_vxlan.h
index c7acd23436..3884a1e7ea 100644
--- a/zebra/zebra_evpn_vxlan.h
+++ b/zebra/zebra_evpn_vxlan.h
@@ -28,7 +28,7 @@ zebra_get_vrr_intf_for_svi(struct interface *ifp)
struct interface *tmp_if = NULL;
struct zebra_if *zif = NULL;
- zvrf = vrf_info_lookup(ifp->vrf_id);
+ zvrf = ifp->vrf->info;
assert(zvrf);
FOR_ALL_INTERFACES (zvrf->vrf, tmp_if) {