diff options
author | Markus Friedl <markus@cvs.openbsd.org> | 2001-04-14 16:17:15 +0000 |
---|---|---|
committer | Markus Friedl <markus@cvs.openbsd.org> | 2001-04-14 16:17:15 +0000 |
commit | f3a5ba14d599b59eacf75067b5be4ec8cc4b8481 (patch) | |
tree | 3f39137b54462bea086a446b3809d7cd21e06677 /usr.bin | |
parent | 42bd69f7c9ab4cb36ea2a75e105d6afd77a8be8f (diff) |
remove some channels that are not appropriate for keepalive.
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/ssh/channels.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/ssh/channels.c b/usr.bin/ssh/channels.c index 006f395885b..fe26cb29e33 100644 --- a/usr.bin/ssh/channels.c +++ b/usr.bin/ssh/channels.c @@ -40,7 +40,7 @@ */ #include "includes.h" -RCSID("$OpenBSD: channels.c,v 1.107 2001/04/13 22:46:52 beck Exp $"); +RCSID("$OpenBSD: channels.c,v 1.108 2001/04/14 16:17:14 markus Exp $"); #include <openssl/rsa.h> #include <openssl/dsa.h> @@ -1852,16 +1852,16 @@ channel_find_open() for (i = 0; i < channels_alloc; i++) switch (channels[i].type) { case SSH_CHANNEL_CLOSED: - continue; - case SSH_CHANNEL_LARVAL: case SSH_CHANNEL_DYNAMIC: - case SSH_CHANNEL_AUTH_SOCKET: - case SSH_CHANNEL_CONNECTING: /* XXX ??? */ case SSH_CHANNEL_FREE: case SSH_CHANNEL_X11_LISTENER: case SSH_CHANNEL_PORT_LISTENER: case SSH_CHANNEL_RPORT_LISTENER: case SSH_CHANNEL_OPENING: + continue; + case SSH_CHANNEL_LARVAL: + case SSH_CHANNEL_AUTH_SOCKET: + case SSH_CHANNEL_CONNECTING: /* XXX ??? */ case SSH_CHANNEL_OPEN: case SSH_CHANNEL_X11_OPEN: return i; |