summaryrefslogtreecommitdiff
path: root/ssh1.h
diff options
context:
space:
mode:
authordtucker <dtucker>2004-11-05 09:27:54 +0000
committerdtucker <dtucker>2004-11-05 09:27:54 +0000
commit8c0e9e80b12634824db32de094df1aea6d0c0a10 (patch)
tree8ea33a3745b5efc40d04aacf0713dfdc447d5db5 /ssh1.h
parentcd6518b8c86c194db28de4d31082c66b4db5213b (diff)
downloadopenssh-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.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/ssh1.h b/ssh1.h
index cc7fbc8b..1741c229 100644
--- a/ssh1.h
+++ b/ssh1.h
@@ -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) */