From 157a43d572483aaf0e93d26080dfebfe4f6be2dd Mon Sep 17 00:00:00 2001 From: Donatas Abraitis Date: Tue, 17 Dec 2019 12:39:40 +0200 Subject: [PATCH] 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 --- bgpd/bgp_route.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c index 9ee6275044..5a7f7664aa 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; }