comparison process-packet.c @ 546:568638be7203 agent-client

propagate from branch 'au.asn.ucc.matt.dropbear' (head 899a8851a5edf840b2f7925bcc26ffe99dcac54d) to branch 'au.asn.ucc.matt.dropbear.cli-agent' (head 6bbab8364de17bd9ecb1dee5ffb796e48c0380d2)
author Matt Johnston <matt@ucc.asn.au>
date Wed, 01 Jul 2009 04:16:32 +0000
parents a3748e54273c
children afb089e70892
comparison
equal deleted inserted replaced
500:d588e3ea557a 546:568638be7203
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) {