diff packet.c @ 454:7e43f5e473b9

- Add -K keepalive flag for dropbear and dbclient - Try to reduce the frequency of select() timeouts - Add a max receive window size of 1MB
author Matt Johnston <matt@ucc.asn.au>
date Wed, 08 Aug 2007 15:12:06 +0000
parents 4cab61369879
children f6c999ba31da
line wrap: on
line diff
--- a/packet.c	Sat Jul 28 08:59:24 2007 +0000
+++ b/packet.c	Wed Aug 08 15:12:06 2007 +0000
@@ -71,6 +71,8 @@
 			dropbear_exit("error writing");
 		}
 	} 
+	
+	ses.last_packet_time = time(NULL);
 
 	if (written == 0) {
 		ses.remoteclosed();