diff options
author | Donatas Abraitis <donatas.abraitis@gmail.com> | 2019-12-17 11:39:40 +0100 |
---|---|---|
committer | Donatas Abraitis <donatas.abraitis@gmail.com> | 2019-12-17 11:39:40 +0100 |
commit | 157a43d572483aaf0e93d26080dfebfe4f6be2dd (patch) | |
tree | 7e8fb6372ff1454420c3e27007b49b2f205c7331 /bgpd/bgp_route.c | |
parent | bgpd: Print json output for show_ip_bgp_regexp_cmd (diff) | |
download | frr-157a43d572483aaf0e93d26080dfebfe4f6be2dd.tar.xz frr-157a43d572483aaf0e93d26080dfebfe4f6be2dd.zip |
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>
Diffstat (limited to 'bgpd/bgp_route.c')
-rw-r--r-- | bgpd/bgp_route.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 9ee627504..5a7f7664a 100644 --- a/bgpd/bgp_route.c +++ b/bgpd/bgp_route.c @@ -10527,7 +10527,7 @@ static int bgp_show_regexp(struct vty *vty, struct bgp *bgp, const char *regstr, int rc; 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); return CMD_WARNING_CONFIG_FAILED; } |