mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-13 12:37:10 +00:00
bgpd: enunciate the error message if user tries to configure 'router bgp'
We need a better error message. "Multiple BGP processes are configured" doesnt makes sense anymore as with l3vni, we could have multiple auto configured bgp instances. Signed-off-by: Mitesh Kanjariya <mitesh@cumulusnetworks.com>
This commit is contained in:
parent
25f2ca5307
commit
2ca3a78b68
@ -833,7 +833,7 @@ DEFUN_NOSH (router_bgp,
|
||||
|
||||
if (listcount(bm->bgp) > 1) {
|
||||
vty_out(vty,
|
||||
"%% Multiple BGP processes are configured\n");
|
||||
"%% Please specify ASN and VRF\n");
|
||||
return CMD_WARNING_CONFIG_FAILED;
|
||||
}
|
||||
}
|
||||
@ -909,7 +909,7 @@ DEFUN (no_router_bgp,
|
||||
|
||||
if (listcount(bm->bgp) > 1) {
|
||||
vty_out(vty,
|
||||
"%% Multiple BGP processes are configured\n");
|
||||
"%% Please specify ASN and VRF\n");
|
||||
return CMD_WARNING_CONFIG_FAILED;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user