diff options
author | dtucker <dtucker> | 2004-11-05 09:27:54 +0000 |
---|---|---|
committer | dtucker <dtucker> | 2004-11-05 09:27:54 +0000 |
commit | 8c0e9e80b12634824db32de094df1aea6d0c0a10 (patch) | |
tree | 8ea33a3745b5efc40d04aacf0713dfdc447d5db5 /ssh1.h | |
parent | cd6518b8c86c194db28de4d31082c66b4db5213b (diff) | |
download | openssh-8c0e9e80b12634824db32de094df1aea6d0c0a10.tar.gz |
- 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 @@ -/* $OpenBSD: ssh1.h,v 1.4 2004/07/11 17:48:47 deraadt Exp $ */ +/* $OpenBSD: ssh1.h,v 1.5 2004/10/20 11:48:53 markus Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -18,6 +18,9 @@ * for compatibility. The maximum value is 254; value 255 is reserved for * future extension. */ +/* Ranges */ +#define SSH_MSG_MIN 1 +#define SSH_MSG_MAX 254 /* Message name */ /* msg code */ /* arguments */ #define SSH_MSG_NONE 0 /* no message */ #define SSH_MSG_DISCONNECT 1 /* cause (string) */ |