diff options
Diffstat (limited to 'src/vty/vty.c')
-rw-r--r-- | src/vty/vty.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vty/vty.c b/src/vty/vty.c index 6ca7a154..ad535371 100644 --- a/src/vty/vty.c +++ b/src/vty/vty.c @@ -1694,6 +1694,8 @@ static int vty_config_write(struct vty *vty) /* login */ if (!password_check) vty_out(vty, " no login%s", VTY_NEWLINE); + else + vty_out(vty, " login%s", VTY_NEWLINE); /* bind */ if (vty_bind_addr && (strcmp(vty_bind_addr, VTY_BIND_ADDR_DEFAULT) != 0)) @@ -1766,8 +1768,6 @@ void vty_init_vtysh(void) vtyvec = vector_init(VECTOR_MIN_SIZE); } -extern void *tall_bsc_ctx; - /*! Initialize VTY layer * \param[in] app_info application information */ |