diff options
author | Matt Johnston <matt@ucc.asn.au> | 2008-11-07 14:11:06 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2008-11-07 14:11:06 +0000 |
commit | adc4d0194f4c9348cdd331e80deb2b3401a29877 (patch) | |
tree | 38e0293d99f7872849e1ec4b173d631173fbc786 /process-packet.c | |
parent | e80f8e8c09dab7cece30660a33e2a2bfd5d5f571 (diff) |
Idle timeout patch from Farrell Aultman. Needs testing, unsure if server
code works
--HG--
extra : convert_revision : ff66e05ae040561110af70114bf83f11ed528f05
Diffstat (limited to 'process-packet.c')
-rw-r--r-- | process-packet.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/process-packet.c b/process-packet.c index d96c1cb..fe4a543 100644 --- a/process-packet.c +++ b/process-packet.c @@ -70,6 +70,7 @@ void process_packet() { dropbear_close("Disconnect received"); } + ses.last_packet_time = time(NULL); /* This applies for KEX, where the spec says the next packet MUST be * NEWKEYS */ |