diff options
author | 2002-03-26 22:50:39 +0000 | |
---|---|---|
committer | 2002-03-26 22:50:39 +0000 | |
commit | 5d240f1afc7bfb54995ce81380cbf7dd8e39196c (patch) | |
tree | dd7df6287e840fc159f658a0539f4d81a4a704df /usr.bin/ssh/channels.h | |
parent | Mention support for NCP130 (diff) | |
download | wireguard-openbsd-5d240f1afc7bfb54995ce81380cbf7dd8e39196c.tar.xz wireguard-openbsd-5d240f1afc7bfb54995ce81380cbf7dd8e39196c.zip |
CHANNEL_EFD_OUTPUT_ACTIVE is false for CHAN_CLOSE_RCVD, too
Diffstat (limited to 'usr.bin/ssh/channels.h')
-rw-r--r-- | usr.bin/ssh/channels.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/ssh/channels.h b/usr.bin/ssh/channels.h index 0da2d4e5e02..bd31c455825 100644 --- a/usr.bin/ssh/channels.h +++ b/usr.bin/ssh/channels.h @@ -1,4 +1,4 @@ -/* $OpenBSD: channels.h,v 1.66 2002/03/25 21:13:51 markus Exp $ */ +/* $OpenBSD: channels.h,v 1.67 2002/03/26 22:50:39 markus Exp $ */ /* * Author: Tatu Ylonen <ylo@cs.hut.fi> @@ -145,7 +145,7 @@ struct Channel { buffer_len(&c->extended) > 0)) #define CHANNEL_EFD_OUTPUT_ACTIVE(c) \ (compat20 && c->extended_usage == CHAN_EXTENDED_WRITE && \ - ((c->efd != -1 && !(c->flags & CHAN_EOF_RCVD)) || \ + ((c->efd != -1 && !(c->flags & (CHAN_EOF_RCVD|CHAN_CLOSE_RCVD))) || \ buffer_len(&c->extended) > 0)) /* channel management */ |