diff options
author | Matt Johnston <matt@ucc.asn.au> | 2017-06-25 23:37:44 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-06-25 23:37:44 +0800 |
commit | ddbc8113a9b7ab6c3a5b636f4040951f6bd22b2f (patch) | |
tree | b1391e09183c04bdf95eee822619385fc498f457 /svr-auth.c | |
parent | 65115b91596bd940882c9ab7a8318b1d9e9b89ea (diff) | |
parent | e2551012993ea913e23012774330da926366487f (diff) |
Merge pull request #47 from kdarbyshirebryant/mastermaxauth
dropbear server: support -T max auth tries
Diffstat (limited to 'svr-auth.c')
-rw-r--r-- | svr-auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -362,7 +362,7 @@ void send_msg_userauth_failure(int partial, int incrfail) { ses.authstate.failcount++; } - if (ses.authstate.failcount >= MAX_AUTH_TRIES) { + if (ses.authstate.failcount >= svr_opts.maxauthtries) { char * userstr; /* XXX - send disconnect ? */ TRACE(("Max auth tries reached, exiting")) |