From 235fb34a9c7933fa50d5cff8e7564774036f2d74 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Wed, 9 Jul 2014 22:02:22 +0800 Subject: Fix auth timeout regression --- session.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'session.h') diff --git a/session.h b/session.h index 16a6e37..548dabd 100644 --- a/session.h +++ b/session.h @@ -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 -- cgit v1.2.1