comparison 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
comparison
equal deleted inserted replaced
510:b85507ade010 513:a3748e54273c
68 case SSH_MSG_DISCONNECT: 68 case SSH_MSG_DISCONNECT:
69 /* TODO cleanup? */ 69 /* TODO cleanup? */
70 dropbear_close("Disconnect received"); 70 dropbear_close("Disconnect received");
71 } 71 }
72 72
73 ses.last_packet_time = time(NULL);
73 74
74 /* This applies for KEX, where the spec says the next packet MUST be 75 /* This applies for KEX, where the spec says the next packet MUST be
75 * NEWKEYS */ 76 * NEWKEYS */
76 if (ses.requirenext != 0) { 77 if (ses.requirenext != 0) {
77 if (ses.requirenext != type) { 78 if (ses.requirenext != type) {