diff options
author | 2001-04-29 19:16:52 +0000 | |
---|---|---|
committer | 2001-04-29 19:16:52 +0000 | |
commit | 7bcc3290108d3ae6b838438be1f52e499941f391 (patch) | |
tree | 3db0c3c24bd4b2b544fbfbae6704c0db7d76a9ea /usr.bin/ssh/clientloop.c | |
parent | ddb command `machine halt' is superceded by `boot halt' now, so remove it (diff) | |
download | wireguard-openbsd-7bcc3290108d3ae6b838438be1f52e499941f391.tar.xz wireguard-openbsd-7bcc3290108d3ae6b838438be1f52e499941f391.zip |
more ssh.com-2.0.x bug-compat; from per@appgate.com
Diffstat (limited to 'usr.bin/ssh/clientloop.c')
-rw-r--r-- | usr.bin/ssh/clientloop.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/usr.bin/ssh/clientloop.c b/usr.bin/ssh/clientloop.c index 369ffe4acf8..d761897385c 100644 --- a/usr.bin/ssh/clientloop.c +++ b/usr.bin/ssh/clientloop.c @@ -59,7 +59,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: clientloop.c,v 1.65 2001/04/20 07:17:51 djm Exp $"); +RCSID("$OpenBSD: clientloop.c,v 1.66 2001/04/29 19:16:52 markus Exp $"); #include "ssh.h" #include "ssh1.h" @@ -1154,8 +1154,10 @@ client_input_channel_open(int type, int plen, void *ctxt) packet_start(SSH2_MSG_CHANNEL_OPEN_FAILURE); packet_put_int(rchan); packet_put_int(SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED); - packet_put_cstring("bla bla"); - packet_put_cstring(""); + if (!(datafellows & SSH_BUG_OPENFAILURE)) { + packet_put_cstring("bla bla"); + packet_put_cstring(""); + } packet_send(); } xfree(ctype); |