summaryrefslogtreecommitdiff
path: root/usr.bin/ssh/compat.h
diff options
context:
space:
mode:
authorMarkus Friedl <markus@cvs.openbsd.org>2008-09-11 14:22:38 +0000
committerMarkus Friedl <markus@cvs.openbsd.org>2008-09-11 14:22:38 +0000
commitb8732efbae97ae121cdc548c853e65cef134629e (patch)
treec33555091eb424e6e374a80c4c5c5a8a5c444e35 /usr.bin/ssh/compat.h
parente72a4051ae0487d428e449caf6b68e77f885433b (diff)
only send eow and no-more-sessions requests to openssh 5 and newer;
fixes interop problems with broken ssh v2 implementations; ok djm@
Diffstat (limited to 'usr.bin/ssh/compat.h')
-rw-r--r--usr.bin/ssh/compat.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.bin/ssh/compat.h b/usr.bin/ssh/compat.h
index 4d8ebc908a4..16cf282a7ae 100644
--- a/usr.bin/ssh/compat.h
+++ b/usr.bin/ssh/compat.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: compat.h,v 1.41 2006/12/12 03:58:42 djm Exp $ */
+/* $OpenBSD: compat.h,v 1.42 2008/09/11 14:22:37 markus Exp $ */
/*
* Copyright (c) 1999, 2000, 2001 Markus Friedl. All rights reserved.
@@ -57,6 +57,7 @@
#define SSH_BUG_FIRSTKEX 0x00800000
#define SSH_OLD_FORWARD_ADDR 0x01000000
#define SSH_BUG_RFWD_ADDR 0x02000000
+#define SSH_NEW_OPENSSH 0x04000000
void enable_compat13(void);
void enable_compat20(void);