summaryrefslogtreecommitdiffhomepage
path: root/process-packet.c
diff options
context:
space:
mode:
Diffstat (limited to 'process-packet.c')
-rw-r--r--process-packet.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/process-packet.c b/process-packet.c
index 4953cf2..c3f3a76 100644
--- a/process-packet.c
+++ b/process-packet.c
@@ -78,7 +78,9 @@ void process_packet() {
idle detection. This is slightly incorrect since a tcp forwarded
global request with failure won't trigger the idle timeout,
but that's probably acceptable */
- if (!(type == SSH_MSG_GLOBAL_REQUEST || type == SSH_MSG_REQUEST_FAILURE)) {
+ if (!(type == SSH_MSG_GLOBAL_REQUEST
+ || type == SSH_MSG_REQUEST_FAILURE
+ || type == SSH_MSG_CHANNEL_FAILURE)) {
ses.last_packet_time_idle = now;
}