]> git.puffer.fish Git - matthieu/frr.git/commitdiff
bgpd: 'show .... bgp regexp WORD' fixed
authorDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 15 Apr 2017 00:39:56 +0000 (20:39 -0400)
committerDonald Sharp <sharpd@cumulusnetworks.com>
Sat, 15 Apr 2017 00:39:56 +0000 (20:39 -0400)
The command was always just returning as part of the
bgp_regexp_show function.

Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
bgpd/bgp_route.c

index 4e87ea1eced4423dea04cd074e27a96728decd23..32cf0bcb89cc414663b4327e5d4d75e02dd545e8 100644 (file)
@@ -8562,8 +8562,6 @@ static int
 bgp_show_regexp (struct vty *vty, const char *regstr, afi_t afi,
                 safi_t safi, enum bgp_show_type type)
 {
-  return CMD_SUCCESS;
-
   regex_t *regex;
   int rc;