diff options
author | Matt Johnston <matt@ucc.asn.au> | 2014-07-09 00:15:20 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2014-07-09 00:15:20 +0800 |
commit | c884e5000e881f45e5c2328e219eebd07b0560ca (patch) | |
tree | 59c2280892aff108c15690290ad4adbc1f4e2012 /svr-session.c | |
parent | 1ccac01cee0222be332b46d7102336465760aa11 (diff) |
Make -K keepalive behave like OpenSSH's ServerAliveInterval
Diffstat (limited to 'svr-session.c')
-rw-r--r-- | svr-session.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/svr-session.c b/svr-session.c index 2adcb01..90d3414 100644 --- a/svr-session.c +++ b/svr-session.c @@ -95,8 +95,6 @@ void svr_session(int sock, int childpipe) { chaninitialise(svr_chantypes); svr_chansessinitialise(); - ses.connect_time = monotonic_now(); - /* for logging the remote address */ get_socket_address(ses.sock_in, NULL, NULL, &host, &port, 0); len = strlen(host) + strlen(port) + 2; |