From 10eb218fb022f435d75fa6e8e6fc6234e66f31b9 Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Wed, 13 Aug 2014 21:48:47 +0800 Subject: Don't send SSH_MSG_UNIMPLEMENTED for keepalive responses --- cli-session.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'cli-session.c') diff --git a/cli-session.c b/cli-session.c index d5ff02d..ecefe46 100644 --- a/cli-session.c +++ b/cli-session.c @@ -73,6 +73,8 @@ static const packettype cli_packettypes[] = { #ifdef ENABLE_CLI_REMOTETCPFWD {SSH_MSG_REQUEST_SUCCESS, cli_recv_msg_request_success}, /* client */ {SSH_MSG_REQUEST_FAILURE, cli_recv_msg_request_failure}, /* client */ +#else + {SSH_MSG_REQUEST_FAILURE, ignore_recv_msg_request_failure}, /* for keepalive */ #endif {0, 0} /* End */ }; -- cgit v1.2.3