diff options
Diffstat (limited to 'vtysh/vtysh_config.c')
-rw-r--r-- | vtysh/vtysh_config.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/vtysh/vtysh_config.c b/vtysh/vtysh_config.c index f7071fc2..bfcf8e64 100644 --- a/vtysh/vtysh_config.c +++ b/vtysh/vtysh_config.c @@ -353,8 +353,7 @@ vtysh_read_file (FILE *confp) int ret; struct vty *vty; - vty = vty_new (0); /* stdout */ - vty->type = VTY_TERM; + vty = vty_new (0, VTY_TERM); /* stdout */ vty->node = CONFIG_NODE; vtysh_execute_no_pager ("enable"); |