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

@@ -394,6 +394,11 @@ static int ident_readln(int fd, char* buf, int count) {
return pos+1;
}
void ignore_recv_msg_request_failure() {
// Do nothing
TRACE(("Ignored msg_request_failure"))
}
static void send_msg_keepalive() {
CHECKCLEARTOWRITE();
time_t old_time_idle = ses.last_packet_time_idle;