comparison common-session.c @ 135:d663445c1533

Initialise the outgoing packet queue
author Matt Johnston <matt@ucc.asn.au>
date Wed, 03 Nov 2004 13:47:44 +0000
parents 10f4d3319780
children 0cfba3034be5
comparison
equal deleted inserted replaced
134:6b306ad5f5b5 135:d663445c1533
70 ses.readbuf = NULL; 70 ses.readbuf = NULL;
71 ses.decryptreadbuf = NULL; 71 ses.decryptreadbuf = NULL;
72 ses.payload = NULL; 72 ses.payload = NULL;
73 ses.recvseq = 0; 73 ses.recvseq = 0;
74 74
75 initqueue(&ses.writequeue);
76
75 ses.requirenext = SSH_MSG_KEXINIT; 77 ses.requirenext = SSH_MSG_KEXINIT;
76 ses.dataallowed = 0; /* don't send data yet, we'll wait until after kex */ 78 ses.dataallowed = 0; /* don't send data yet, we'll wait until after kex */
77 ses.ignorenext = 0; 79 ses.ignorenext = 0;
78 ses.lastpacket = 0; 80 ses.lastpacket = 0;
79 81