mirror of https://gerrit.osmocom.org/libosmocore
correct inverted logic from commit f3ba8a
This commit is contained in:
parent
2d6563b78e
commit
e62651f220
|
@ -1650,7 +1650,7 @@ static int vty_config_write(struct vty *vty)
|
||||||
vty_out(vty, "line vty%s", VTY_NEWLINE);
|
vty_out(vty, "line vty%s", VTY_NEWLINE);
|
||||||
|
|
||||||
/* login */
|
/* login */
|
||||||
if (password_check)
|
if (!password_check)
|
||||||
vty_out(vty, " no login%s", VTY_NEWLINE);
|
vty_out(vty, " no login%s", VTY_NEWLINE);
|
||||||
|
|
||||||
vty_out(vty, "!%s", VTY_NEWLINE);
|
vty_out(vty, "!%s", VTY_NEWLINE);
|
||||||
|
|
Loading…
Reference in New Issue