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 | 235fb34a9c7933fa50d5cff8e7564774036f2d74 (patch) | |
tree | 4672c9ebb53d4cd4fabd4ed2349a042501ab2dde /session.h | |
parent | d671d6d3c4d58cf2e0d3d13208430ef70354e097 (diff) | |
download | dropbear-235fb34a9c7933fa50d5cff8e7564774036f2d74.tar.gz |
Fix auth timeout regression
Diffstat (limited to 'session.h')
-rw-r--r-- | session.h | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -104,11 +104,6 @@ struct sshsession { /* Is it a client or server? */ unsigned char isserver; - time_t connect_time; /* time the connection was established - (cleared after auth once we're not - respecting AUTH_TIMEOUT any more). - A monotonic time, not realworld */ - int sock_in; int sock_out; @@ -221,6 +216,11 @@ struct serversession { /* The resolved remote address, used for lastlog etc */ char *remotehost; + time_t connect_time; /* time the connection was established + (cleared after auth once we're not + respecting AUTH_TIMEOUT any more). + A monotonic time, not realworld */ + #ifdef USE_VFORK pid_t server_pid; #endif |