From 08ab35fe0e5a964a0826b73cf3ade09b297b6f48 Mon Sep 17 00:00:00 2001 From: Philippe Guibert Date: Mon, 17 Dec 2018 18:56:36 +0100 Subject: [PATCH] zebra: the default vrf name in vxlan is correctly set the default vrf name was hardset to "Default", whereas the default vrf name could have been configured in an other manner. Fix this inconsistency. Signed-off-by: Philippe Guibert --- 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 abc1f85c05..20dc64b0bc 100644 --- a/zebra/zebra_vxlan.c +++ b/zebra/zebra_vxlan.c @@ -8395,7 +8395,7 @@ int zebra_vxlan_if_add(struct interface *ifp) "Add L2-VNI %u VRF %s intf %s(%u) VLAN %u local IP %s master %u", vni, vlan_if ? vrf_id_to_name(vlan_if->vrf_id) - : "Default", + : VRF_DEFAULT_NAME, ifp->name, ifp->ifindex, vxl->access_vlan, inet_ntoa(vxl->vtep_ip), zif->brslave_info.bridge_ifindex);