From 2118e6a9b4e875214fed275f628d4fa410d6f784 Mon Sep 17 00:00:00 2001 From: Tuetuopay Date: Wed, 6 Mar 2019 19:21:32 +0100 Subject: [PATCH] zebra/vxlan: Associate L3VNIs to EVPN VRF This uses the EPVN VRF to store L3VNIs hashes, and looks up L2VNIs in this VRF as they are stored there. Signed-off-by: Tuetuopay Sponsored-by: Scaleway --- zebra/zebra_vxlan.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zebra/zebra_vxlan.c b/zebra/zebra_vxlan.c index d4bae6d133..bf12422466 100644 --- a/zebra/zebra_vxlan.c +++ b/zebra/zebra_vxlan.c @@ -8583,7 +8583,7 @@ int zebra_vxlan_process_vrf_vni_cmd(struct zebra_vrf *zvrf, vni_t vni, zebra_l3vni_t *zl3vni = NULL; struct zebra_vrf *zvrf_default = NULL; - zvrf_default = zebra_vrf_lookup_by_id(VRF_DEFAULT); + zvrf_default = zebra_vrf_get_evpn(); if (!zvrf_default) return -1; -- 2.39.5