diff options
author | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-29 19:52:00 +0000 |
---|---|---|
committer | Ben Lindstrom <mouring@eviladmin.org> | 2001-04-29 19:52:00 +0000 |
commit | f343674d5e297f16aafe24f68620b22656a27ba1 (patch) | |
tree | 521d8f0522d150f47be13c129c139cf69e044577 /clientloop.c | |
parent | 2f0304c768a2f44b78471a258b2dd7ce9acc199b (diff) |
- markus@cvs.openbsd.org 2001/04/29 19:16:52
[channels.c clientloop.c compat.c compat.h serverloop.c]
more ssh.com-2.0.x bug-compat; from per@appgate.com
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/clientloop.c b/clientloop.c index 369ffe4ac..d76189738 100644 --- a/clientloop.c +++ b/clientloop.c | |||
@@ -59,7 +59,7 @@ | |||
59 | */ | 59 | */ |
60 | 60 | ||
61 | #include "includes.h" | 61 | #include "includes.h" |
62 | RCSID("$OpenBSD: clientloop.c,v 1.65 2001/04/20 07:17:51 djm Exp $"); | 62 | RCSID("$OpenBSD: clientloop.c,v 1.66 2001/04/29 19:16:52 markus Exp $"); |
63 | 63 | ||
64 | #include "ssh.h" | 64 | #include "ssh.h" |
65 | #include "ssh1.h" | 65 | #include "ssh1.h" |
@@ -1154,8 +1154,10 @@ client_input_channel_open(int type, int plen, void *ctxt) | |||
1154 | packet_start(SSH2_MSG_CHANNEL_OPEN_FAILURE); | 1154 | packet_start(SSH2_MSG_CHANNEL_OPEN_FAILURE); |
1155 | packet_put_int(rchan); | 1155 | packet_put_int(rchan); |
1156 | packet_put_int(SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED); | 1156 | packet_put_int(SSH2_OPEN_ADMINISTRATIVELY_PROHIBITED); |
1157 | packet_put_cstring("bla bla"); | 1157 | if (!(datafellows & SSH_BUG_OPENFAILURE)) { |
1158 | packet_put_cstring(""); | 1158 | packet_put_cstring("bla bla"); |
1159 | packet_put_cstring(""); | ||
1160 | } | ||
1159 | packet_send(); | 1161 | packet_send(); |
1160 | } | 1162 | } |
1161 | xfree(ctype); | 1163 | xfree(ctype); |