diff options
author | Matt Johnston <matt@ucc.asn.au> | 2004-11-03 13:47:44 +0000 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2004-11-03 13:47:44 +0000 |
commit | 9cc69dd4fa1552d33db545fb1afdd5c06042dd3c (patch) | |
tree | d70c9df70587c30a28b24503caf83c1289f1fe11 | |
parent | 2fc85702fe51dd77171e1652659d652c0f325e4a (diff) | |
download | dropbear-9cc69dd4fa1552d33db545fb1afdd5c06042dd3c.tar.gz |
Initialise the outgoing packet queue
-rw-r--r-- | common-session.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common-session.c b/common-session.c index f220753..2914069 100644 --- a/common-session.c +++ b/common-session.c @@ -72,6 +72,8 @@ void common_session_init(int sock, char* remotehost) { ses.payload = NULL; ses.recvseq = 0; + initqueue(&ses.writequeue); + ses.requirenext = SSH_MSG_KEXINIT; ses.dataallowed = 0; /* don't send data yet, we'll wait until after kex */ ses.ignorenext = 0; |