summaryrefslogtreecommitdiffstats
path: root/isisd/isis_vty.c
diff options
context:
space:
mode:
authorQuentin Young <qlyoung@cumulusnetworks.com>2016-10-04 21:21:45 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2016-10-04 21:21:45 +0200
commit12dcf78e0befd448804566438a754261ffbbd2e5 (patch)
treea28c7fc026d1d576196d583554a85efc12239da4 /isisd/isis_vty.c
parentlib: fix password and enable password syntax (diff)
downloadfrr-12dcf78e0befd448804566438a754261ffbbd2e5.tar.xz
frr-12dcf78e0befd448804566438a754261ffbbd2e5.zip
all: Fix various syntax errors
Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
Diffstat (limited to 'isisd/isis_vty.c')
-rw-r--r--isisd/isis_vty.c14
1 files changed, 13 insertions, 1 deletions
diff --git a/isisd/isis_vty.c b/isisd/isis_vty.c
index 93c547260..7fe65e6ca 100644
--- a/isisd/isis_vty.c
+++ b/isisd/isis_vty.c
@@ -55,7 +55,7 @@ isis_circuit_lookup (struct vty *vty)
DEFUN (ip_router_isis,
ip_router_isis_cmd,
- "<ip|ipv6> router isis WORD",
+ "ip router isis WORD",
"Interface Internet Protocol config commands\n"
"IP router interface commands\n"
"IS-IS Routing for IP\n"
@@ -108,6 +108,17 @@ DEFUN (ip_router_isis,
return CMD_SUCCESS;
}
+DEFUN (ip6_router_isis,
+ ip6_router_isis_cmd,
+ "ipv6 router isis WORD",
+ "Interface Internet Protocol config commands\n"
+ "IP router interface commands\n"
+ "IS-IS Routing for IP\n"
+ "Routing process tag\n")
+{
+ return ip_router_isis (self, vty, argc, argv);
+}
+
DEFUN (no_ip_router_isis,
no_ip_router_isis_cmd,
"no <ip|ipv6> router isis WORD",
@@ -2163,6 +2174,7 @@ void
isis_vty_init (void)
{
install_element (INTERFACE_NODE, &ip_router_isis_cmd);
+ install_element (INTERFACE_NODE, &ip6_router_isis_cmd);
install_element (INTERFACE_NODE, &no_ip_router_isis_cmd);
install_element (INTERFACE_NODE, &isis_passive_cmd);