Mercurial > dropbear
diff svr-session.c @ 939:a0819ecfee0b
Make -K keepalive behave like OpenSSH's ServerAliveInterval
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Wed, 09 Jul 2014 00:15:20 +0800 |
parents | 7cd89d4e0335 |
children | e9dfb6d15193 |
line wrap: on
line diff
--- a/svr-session.c Wed Jul 09 00:13:17 2014 +0800 +++ b/svr-session.c Wed Jul 09 00:15:20 2014 +0800 @@ -95,8 +95,6 @@ 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;