diff process-packet.c @ 513:a3748e54273c

Idle timeout patch from Farrell Aultman. Needs testing, unsure if server code works
author Matt Johnston <matt@ucc.asn.au>
date Fri, 07 Nov 2008 14:11:06 +0000
parents 7e43f5e473b9
children afb089e70892
line wrap: on
line diff
--- a/process-packet.c	Wed Nov 05 14:14:40 2008 +0000
+++ b/process-packet.c	Fri Nov 07 14:11:06 2008 +0000
@@ -70,6 +70,7 @@
 			dropbear_close("Disconnect received");
 	}
 
+    ses.last_packet_time = time(NULL);
 
 	/* This applies for KEX, where the spec says the next packet MUST be
 	 * NEWKEYS */