summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2016-02-18 09:07:55 -0500
committerDonald Sharp <sharpd@cumulusnetworks.com>2016-02-18 09:07:55 -0500
commit689e66945d8b272c8af4e6b8feb3b0056bda771a (patch)
tree949470a8e4c4dc07e76f279541ac9cdc788ee655
parent46abd3e3e6eb1f723ea7905c9919b65f1a76f385 (diff)
zebra: Fix 'show ipv6 nht' to actually work
The 'show ipv6 nht' command was not properly hooked up into the cli. Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com> Reviewed-by: Daniel Walton <dwalton@cumulusnetworks.com>
-rw-r--r--zebra/zebra_vty.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/zebra/zebra_vty.c b/zebra/zebra_vty.c
index 1c200cad70..24fb7e8b66 100644
--- a/zebra/zebra_vty.c
+++ b/zebra/zebra_vty.c
@@ -2079,7 +2079,7 @@ DEFUN (show_ipv6_nht,
show_ipv6_nht_cmd,
"show ipv6 nht",
SHOW_STR
- IP_STR
+ IPV6_STR
"IPv6 nexthop tracking table\n")
{
vrf_id_t vrf_id = VRF_DEFAULT;
@@ -2095,7 +2095,7 @@ ALIAS (show_ipv6_nht,
show_ipv6_nht_vrf_cmd,
"show ipv6 nht " VRF_CMD_STR,
SHOW_STR
- IP_STR
+ IPV6_STR
"IPv6 nexthop tracking table\n"
VRF_CMD_HELP_STR)
@@ -5496,6 +5496,7 @@ zebra_vty_init (void)
install_element (ENABLE_NODE, &show_ip_route_tag_cmd);
install_element (ENABLE_NODE, &show_ip_nht_cmd);
install_element (ENABLE_NODE, &show_ip_nht_vrf_cmd);
+ install_element (ENABLE_NODE, &show_ipv6_nht_cmd);
install_element (ENABLE_NODE, &show_ipv6_nht_vrf_cmd);
install_element (ENABLE_NODE, &show_ip_route_addr_cmd);
install_element (ENABLE_NODE, &show_ip_route_prefix_cmd);