mirror of
https://git.proxmox.com/git/mirror_frr
synced 2025-05-29 19:11:44 +00:00
bgpd: Adjust warning message for bgp_show_regexp()
Before it was: ``` exit1-debian-9# show ip bgp regexp ^200a Invalid character in as-path access-list ^200a ``` Signed-off-by: Donatas Abraitis <donatas.abraitis@gmail.com>
This commit is contained in:
parent
3e5b31b37d
commit
157a43d572
@ -10527,7 +10527,7 @@ static int bgp_show_regexp(struct vty *vty, struct bgp *bgp, const char *regstr,
|
|||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
if (!config_bgp_aspath_validate(regstr)) {
|
if (!config_bgp_aspath_validate(regstr)) {
|
||||||
vty_out(vty, "Invalid character in as-path access-list %s\n",
|
vty_out(vty, "Invalid character in REGEX %s\n",
|
||||||
regstr);
|
regstr);
|
||||||
return CMD_WARNING_CONFIG_FAILED;
|
return CMD_WARNING_CONFIG_FAILED;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user