comparison cli-session.c @ 968:f7f6c15b0ec3

Don't send SSH_MSG_UNIMPLEMENTED for keepalive responses
author Matt Johnston <matt@ucc.asn.au>
date Wed, 13 Aug 2014 21:48:47 +0800
parents 4ad38e223ccd
children 0bb16232e7c4
comparison
equal deleted inserted replaced
967:02821319ab1f 968:f7f6c15b0ec3
71 {SSH_MSG_USERAUTH_SPECIFIC_60, recv_msg_userauth_specific_60}, /* client */ 71 {SSH_MSG_USERAUTH_SPECIFIC_60, recv_msg_userauth_specific_60}, /* client */
72 {SSH_MSG_GLOBAL_REQUEST, recv_msg_global_request_cli}, 72 {SSH_MSG_GLOBAL_REQUEST, recv_msg_global_request_cli},
73 #ifdef ENABLE_CLI_REMOTETCPFWD 73 #ifdef ENABLE_CLI_REMOTETCPFWD
74 {SSH_MSG_REQUEST_SUCCESS, cli_recv_msg_request_success}, /* client */ 74 {SSH_MSG_REQUEST_SUCCESS, cli_recv_msg_request_success}, /* client */
75 {SSH_MSG_REQUEST_FAILURE, cli_recv_msg_request_failure}, /* client */ 75 {SSH_MSG_REQUEST_FAILURE, cli_recv_msg_request_failure}, /* client */
76 #else
77 {SSH_MSG_REQUEST_FAILURE, ignore_recv_msg_request_failure}, /* for keepalive */
76 #endif 78 #endif
77 {0, 0} /* End */ 79 {0, 0} /* End */
78 }; 80 };
79 81
80 static const struct ChanType *cli_chantypes[] = { 82 static const struct ChanType *cli_chantypes[] = {