summaryrefslogtreecommitdiffstats
path: root/vtysh/vtysh.c
diff options
context:
space:
mode:
Diffstat (limited to 'vtysh/vtysh.c')
-rw-r--r--vtysh/vtysh.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vtysh/vtysh.c b/vtysh/vtysh.c
index 3f189adb..935c4933 100644
--- a/vtysh/vtysh.c
+++ b/vtysh/vtysh.c
@@ -2227,7 +2227,7 @@ void
vtysh_init_vty (void)
{
/* Make vty structure. */
- vty = vty_new ();
+ vty = vty_new (0);
vty->type = VTY_SHELL;
vty->node = VIEW_NODE;