summaryrefslogtreecommitdiffhomepage
path: root/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'session.h')
-rw-r--r--session.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/session.h b/session.h
index 99c96cb..e8409b4 100644
--- a/session.h
+++ b/session.h
@@ -109,6 +109,11 @@ 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;
@@ -231,11 +236,6 @@ 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