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:
Donatas Abraitis 2019-12-17 12:39:40 +02:00
parent 3e5b31b37d
commit 157a43d572

View File

@ -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;
} }