diff options
author | Darren Tucker <dtucker@zip.com.au> | 2004-11-05 20:27:54 +1100 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2004-11-05 20:27:54 +1100 |
commit | b2694f0e8a54112200f2638f01b622f603dd125f (patch) | |
tree | fead39f349540f3d1eff0db1bdb42407d09edc4a /ssh1.h | |
parent | 1dee8683fb86b7840787ea29e40f5c18abca7eac (diff) |
- markus@cvs.openbsd.org 2004/10/20 11:48:53
[packet.c ssh1.h]
disconnect for invalid (out of range) message types.
Diffstat (limited to 'ssh1.h')
-rw-r--r-- | ssh1.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -1,4 +1,4 @@ | |||
1 | /* $OpenBSD: ssh1.h,v 1.4 2004/07/11 17:48:47 deraadt Exp $ */ | 1 | /* $OpenBSD: ssh1.h,v 1.5 2004/10/20 11:48:53 markus Exp $ */ |
2 | 2 | ||
3 | /* | 3 | /* |
4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> | 4 | * Author: Tatu Ylonen <ylo@cs.hut.fi> |
@@ -18,6 +18,9 @@ | |||
18 | * for compatibility. The maximum value is 254; value 255 is reserved for | 18 | * for compatibility. The maximum value is 254; value 255 is reserved for |
19 | * future extension. | 19 | * future extension. |
20 | */ | 20 | */ |
21 | /* Ranges */ | ||
22 | #define SSH_MSG_MIN 1 | ||
23 | #define SSH_MSG_MAX 254 | ||
21 | /* Message name */ /* msg code */ /* arguments */ | 24 | /* Message name */ /* msg code */ /* arguments */ |
22 | #define SSH_MSG_NONE 0 /* no message */ | 25 | #define SSH_MSG_NONE 0 /* no message */ |
23 | #define SSH_MSG_DISCONNECT 1 /* cause (string) */ | 26 | #define SSH_MSG_DISCONNECT 1 /* cause (string) */ |