diff options
author | Matt Johnston <matt@ucc.asn.au> | 2014-07-09 22:02:22 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2014-07-09 22:02:22 +0800 |
commit | f1826ea389bfddb6a0d52314d01e3d8b8f46eec8 (patch) | |
tree | 20b108d78b33ca06d3b025dab9e398ebe9849cb0 /svr-auth.c | |
parent | c884e5000e881f45e5c2328e219eebd07b0560ca (diff) |
Fix auth timeout regression
Diffstat (limited to 'svr-auth.c')
-rw-r--r-- | svr-auth.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -392,8 +392,7 @@ void send_msg_userauth_success() { /* authdone must be set after encrypt_packet() for * delayed-zlib mode */ ses.authstate.authdone = 1; - ses.connect_time = 0; - + svr_ses.connect_time = 0; if (ses.authstate.pw_uid == 0) { ses.allowprivport = 1; |