commit | e62651f22064ac44930ec91eda7f74b1014b420f | [log] [tgz] |
---|---|---|
author | Alexander Huemer <alexander.huemer@xx.vu> | Wed Jul 04 11:31:54 2012 +0200 |
committer | Harald Welte <laforge@gnumonks.org> | Wed Jul 11 11:00:02 2012 +0200 |
tree | 410965f32c6287081c7d7bc4922aaa741d0d5a06 | |
parent | 2d6563b78e699ee8ac1bd3bc556889ab8eff975c [diff] |
correct inverted logic from commit f3ba8a
diff --git a/src/vty/vty.c b/src/vty/vty.c index 67ee100..e529ee7 100644 --- a/src/vty/vty.c +++ b/src/vty/vty.c
@@ -1650,7 +1650,7 @@ 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);