summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/dispatch.h
diff options
context:
space:
mode:
authorDamien Miller <djm@cvs.openbsd.org>2001-12-20 22:50:25 +0000
committerDamien Miller <djm@cvs.openbsd.org>2001-12-20 22:50:25 +0000
commit875417685ffbf9ef3667e81f8ec081b7b96d87cd (patch)
treed6f42453f78135d603cfc33f5025a66d6e000245 /usr.bin/ssh/dispatch.h
parent918eee0e34df8e238e143e796dfd151aac893609 (diff)
Conformance fix: we should send failing packet sequence number when
responding with a SSH_MSG_UNIMPLEMENTED message. Spotted by yakk@yakk.dot.net; ok markus@
Diffstat (limited to 'usr.bin/ssh/dispatch.h')
-rw-r--r--usr.bin/ssh/dispatch.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/ssh/dispatch.h b/usr.bin/ssh/dispatch.h
index 7b94032afab..127ec106711 100644
--- a/usr.bin/ssh/dispatch.h
+++ b/usr.bin/ssh/dispatch.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: dispatch.h,v 1.6 2001/06/26 17:27:23 markus Exp $ */
+/* $OpenBSD: dispatch.h,v 1.7 2001/12/20 22:50:24 djm Exp $ */
/*
* Copyright (c) 2000 Markus Friedl. All rights reserved.
@@ -28,9 +28,9 @@ enum {
DISPATCH_NONBLOCK
};
-typedef void dispatch_fn(int, int, void *);
+typedef void dispatch_fn(int, int, u_int32_t, void *);
void dispatch_init(dispatch_fn *);
void dispatch_set(int, dispatch_fn *);
void dispatch_run(int, int *, void *);
-void dispatch_protocol_error(int, int, void *);
+void dispatch_protocol_error(int, int, u_int32_t, void *);