diff options
author | Matt Johnston <matt@ucc.asn.au> | 2014-08-13 21:48:47 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2014-08-13 21:48:47 +0800 |
commit | 10eb218fb022f435d75fa6e8e6fc6234e66f31b9 (patch) | |
tree | 09f7bc6c2ea44685ca1af2de59a80ced4783cc8c /cli-session.c | |
parent | bfb2b30de6332e202e4ce95f5e7cae6190e73fa3 (diff) |
Don't send SSH_MSG_UNIMPLEMENTED for keepalive responses
Diffstat (limited to 'cli-session.c')
-rw-r--r-- | cli-session.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 */ }; |