mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 21:23:06 +00:00
bgpd: fix missing name of default vrf
Before: (config-router-af)# advertise-all-vni % Please unconfigure EVPN in VRF (null) After: (config-router-af)# advertise-all-vni % Please unconfigure EVPN in VRF default Just use `bgp->name_pretty` to make it pretty. Signed-off-by: anlan_cs <vic.lan@pica8.com>
This commit is contained in:
parent
868efb9e9f
commit
2b94e4b69e
@ -3515,8 +3515,8 @@ DEFUN (bgp_evpn_advertise_all_vni,
|
|||||||
|
|
||||||
bgp_evpn = bgp_get_evpn();
|
bgp_evpn = bgp_get_evpn();
|
||||||
if (bgp_evpn && bgp_evpn != bgp) {
|
if (bgp_evpn && bgp_evpn != bgp) {
|
||||||
vty_out(vty, "%% Please unconfigure EVPN in VRF %s\n",
|
vty_out(vty, "%% Please unconfigure EVPN in %s\n",
|
||||||
bgp_evpn->name);
|
bgp_evpn->name_pretty);
|
||||||
return CMD_WARNING_CONFIG_FAILED;
|
return CMD_WARNING_CONFIG_FAILED;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user