summaryrefslogtreecommitdiffhomepage
path: root/session.h
diff options
context:
space:
mode:
Diffstat (limited to 'session.h')
-rw-r--r--session.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/session.h b/session.h
index 4ba8ac8..28cb5a9 100644
--- a/session.h
+++ b/session.h
@@ -135,8 +135,9 @@ struct sshsession {
unsigned dataallowed : 1; /* whether we can send data packets or we are in
the middle of a KEX or something */
- unsigned char requirenext; /* byte indicating what packet we require next,
- or 0x00 for any */
+ unsigned char requirenext[2]; /* bytes indicating what packets we require next,
+ or 0x00 for any. Second option can only be
+ used if the first byte is also set */
unsigned char ignorenext; /* whether to ignore the next packet,
used for kex_follows stuff */