summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2017-04-14 20:39:56 -0400
committerDonald Sharp <sharpd@cumulusnetworks.com>2017-04-14 20:39:56 -0400
commit5260e25d2000dcd65b9e7f710f20482e1bb9f2df (patch)
tree6dc457a82f0e6e2271d58f5c8c2945517199a621
parentb6ab29296fc7dc5b0a6ad0e5345aca3c2c701cba (diff)
bgpd: 'show .... bgp regexp WORD' fixed
The command was always just returning as part of the bgp_regexp_show function. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
-rw-r--r--bgpd/bgp_route.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/bgpd/bgp_route.c b/bgpd/bgp_route.c
index 4e87ea1ece..32cf0bcb89 100644
--- a/bgpd/bgp_route.c
+++ b/bgpd/bgp_route.c
@@ -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;