comparison session.h @ 886:cbc73a5aefb0

requirenext doesn't need two values
author Matt Johnston <matt@ucc.asn.au>
date Thu, 23 Jan 2014 22:25:52 +0800
parents ff597bf2cfb0
children bae0b34bc059 7cd89d4e0335
comparison
equal deleted inserted replaced
885:19ce21bd198a 886:cbc73a5aefb0
133 session, see process-packet.c */ 133 session, see process-packet.c */
134 134
135 unsigned dataallowed : 1; /* whether we can send data packets or we are in 135 unsigned dataallowed : 1; /* whether we can send data packets or we are in
136 the middle of a KEX or something */ 136 the middle of a KEX or something */
137 137
138 unsigned char requirenext[2]; /* bytes indicating what packets we require next, 138 unsigned char requirenext; /* byte indicating what packets we require next,
139 or 0x00 for any. Second option can only be 139 or 0x00 for any. */
140 used if the first byte is also set */
141 140
142 unsigned char ignorenext; /* whether to ignore the next packet, 141 unsigned char ignorenext; /* whether to ignore the next packet,
143 used for kex_follows stuff */ 142 used for kex_follows stuff */
144 143
145 unsigned char lastpacket; /* What the last received packet type was */ 144 unsigned char lastpacket; /* What the last received packet type was */