summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--zebra/zebra_vty.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c
index d0d761af95..285555b535 100644
--- a/zebra/zebra_vty.c
+++ b/zebra/zebra_vty.c
@@ -1410,6 +1410,8 @@ DEFUN (show_ip_route,
{
if (argv_find (argv, argc, "kernel", &idx))
type = proto_redistnum (AFI_IP, argv[idx]->text);
+ else if (argv_find (argv, argc, "babel", &idx))
+ type = proto_redistnum (AFI_IP, argv[idx]->text);
else if (argv_find (argv, argc, "connected", &idx))
type = proto_redistnum (AFI_IP, argv[idx]->text);
else if (argv_find (argv, argc, "static", &idx))
@@ -2605,6 +2607,8 @@ DEFUN (show_ipv6_route,
{
if (argv_find (argv, argc, "kernel", &idx))
type = proto_redistnum (AFI_IP6, argv[idx]->text);
+ else if (argv_find (argv, argc, "babel", &idx))
+ type = proto_redistnum (AFI_IP6, argv[idx]->text);
else if (argv_find (argv, argc, "connected", &idx))
type = proto_redistnum (AFI_IP6, argv[idx]->text);
else if (argv_find (argv, argc, "static", &idx))