mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-03 17:24:26 +00:00
bgpd: adv pip to throw warning under default vrf
Instead of CMD_WARNING, use CMD_WARNING_CONFIG_FAILED for any mis-configuration scenario. Testing Done: TOR(config)# router bgp 5548 TOR(config-router)# address-family l2vpn evpn TOR(config-router-af)# no advertise-pip This command is supported under L3VNI BGP EVPN VRF Signed-off-by: Chirag Shah <chirag@cumulusnetworks.com>
This commit is contained in:
parent
27727001d7
commit
a6e7677e63
@ -3690,7 +3690,7 @@ DEFPY (bgp_evpn_advertise_pip_ip_mac,
|
||||
if (EVPN_ENABLED(bgp_vrf)) {
|
||||
vty_out(vty,
|
||||
"This command is supported under L3VNI BGP EVPN VRF\n");
|
||||
return CMD_WARNING;
|
||||
return CMD_WARNING_CONFIG_FAILED;
|
||||
}
|
||||
bgp_evpn = bgp_get_evpn();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user