correct inverted logic from commit f3ba8a

This commit is contained in:
Alexander Huemer 2012-07-04 11:31:54 +02:00 committed by Harald Welte
parent 2d6563b78e
commit e62651f220
1 changed files with 1 additions and 1 deletions

View File

@ -1650,7 +1650,7 @@ static int vty_config_write(struct vty *vty)
vty_out(vty, "line vty%s", VTY_NEWLINE);
/* login */
if (password_check)
if (!password_check)
vty_out(vty, " no login%s", VTY_NEWLINE);
vty_out(vty, "!%s", VTY_NEWLINE);