mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-11-02 16:25:18 +00:00
Merge pull request #3500 from pguibert6WIND/missing_default_vrf_name
bgpd: nexthop vrf name set to default vrf
This commit is contained in:
commit
9e7367db49
@ -6581,7 +6581,7 @@ void route_vty_out(struct vty *vty, struct prefix *p,
|
||||
CHECK_FLAG(path->flags, BGP_PATH_ANNC_NH_SELF) ? true : false;
|
||||
bool nexthop_othervrf = false;
|
||||
vrf_id_t nexthop_vrfid = VRF_DEFAULT;
|
||||
const char *nexthop_vrfname = "Default";
|
||||
const char *nexthop_vrfname = VRF_DEFAULT_NAME;
|
||||
|
||||
if (json_paths)
|
||||
json_path = json_object_new_object();
|
||||
@ -7863,7 +7863,7 @@ void route_vty_out_detail(struct vty *vty, struct bgp *bgp, struct prefix *p,
|
||||
if (path->extra->bgp_orig->inst_type
|
||||
== BGP_INSTANCE_TYPE_DEFAULT)
|
||||
|
||||
vn = "Default";
|
||||
vn = VRF_DEFAULT_NAME;
|
||||
else
|
||||
vn = path->extra->bgp_orig->name;
|
||||
|
||||
|
||||
@ -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);
|
||||
|
||||
Loading…
Reference in New Issue
Block a user