From: Donald Sharp Date: Thu, 18 Feb 2016 14:07:55 +0000 (-0500) Subject: zebra: Fix 'show ipv6 nht' to actually work X-Git-Tag: frr-2.0-rc1~1122^2~2 X-Git-Url: https://git.puffer.fish/?a=commitdiff_plain;h=689e66945d8b272c8af4e6b8feb3b0056bda771a;p=mirror%2Ffrr.git 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 Reviewed-by: Daniel Walton --- 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);