mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-08-10 16:42:44 +00:00
Merge pull request #3191 from donaldsharp/more_vty
bgpd: Add a better breadcrumb for interface based peers
This commit is contained in:
commit
e2f68d82e9
@ -2740,7 +2740,8 @@ static int peer_remote_as_vty(struct vty *vty, const char *peer_str,
|
|||||||
ret = peer_group_remote_as(bgp, peer_str, &as, as_type);
|
ret = peer_group_remote_as(bgp, peer_str, &as, as_type);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
vty_out(vty,
|
vty_out(vty,
|
||||||
"%% Create the peer-group or interface first\n");
|
"%% Create the peer-group or interface first or specify \"interface\" keyword\n");
|
||||||
|
vty_out(vty, "%% if using an unnumbered interface neighbor\n");
|
||||||
return CMD_WARNING_CONFIG_FAILED;
|
return CMD_WARNING_CONFIG_FAILED;
|
||||||
}
|
}
|
||||||
return CMD_SUCCESS;
|
return CMD_SUCCESS;
|
||||||
|
Loading…
Reference in New Issue
Block a user