Don't send SSH_MSG_UNIMPLEMENTED for keepalive responses

This commit is contained in:
Matt Johnston
2014-08-13 21:48:47 +08:00
parent bfb2b30de6
commit 10eb218fb0
4 changed files with 9 additions and 0 deletions

View File

@@ -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 */
};