commit | da179d7a96b92a85d507cfa20bfe7538a65bc1e3 | [log] [tgz] |
---|---|---|
author | Michal Vasko <mvasko@cesnet.cz> | Tue Feb 07 11:59:07 2017 +0100 |
committer | Michal Vasko <mvasko@cesnet.cz> | Tue Feb 07 11:59:07 2017 +0100 |
tree | 9df3c2554de1bdd78fa4e1e0643eb687d21b30cc | |
parent | d1248240ae91fe25a2194dd4423e4a1b6dab3eed [diff] [blame] |
server session BUGFIX wrong variable
diff --git a/src/session_server_ssh.c b/src/session_server_ssh.c index 2d0f5d6..c0ea654 100644 --- a/src/session_server_ssh.c +++ b/src/session_server_ssh.c
@@ -1139,7 +1139,7 @@ return -1; } - if (session->opts.server.ssh_auth_attempts >= opts->auth_attempts) { + if (session->ssh_auth_attempts >= opts->auth_attempts) { ERR("Too many failed authentication attempts of user \"%s\".", session->username); return -1; }