summaryrefslogtreecommitdiffstats
path: root/lib/vty_io_shell.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/vty_io_shell.c')
-rw-r--r--lib/vty_io_shell.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/vty_io_shell.c b/lib/vty_io_shell.c
index c56cc2d2..7b24b871 100644
--- a/lib/vty_io_shell.c
+++ b/lib/vty_io_shell.c
@@ -43,6 +43,7 @@
#define VTYSH_DEBUG 0
+#if 0
/*------------------------------------------------------------------------------
* Create new vty of type VTY_SHELL_SERV -- ie attached to a vtysh session.
@@ -62,7 +63,7 @@ uty_new_shell_serv(int sock_fd)
vio = vty->vio ;
/* Set the action functions */
- if (vty_cli_nexus)
+ if (vty_nexus)
{
vio->sock.action.read.qnexus = vtysh_read_qnexus ;
vio->sock.action.write.qnexus = vty_write_qnexus ;
@@ -364,3 +365,5 @@ utysh_read (vty_io vio, qstring cl, qstring buf)
} ;
} ;
} ;
+
+#endif