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 | 6bedc2213e48379c194ef1dbd5d3bd9fc192076d (patch) | |
tree | ad80ae1d6be88d9892ecf206c174162c6755af64 /cli-session.c | |
parent | dd8b417d5898f1da9f8c457e2ad66208cf716adc (diff) | |
download | dropbear-6bedc2213e48379c194ef1dbd5d3bd9fc192076d.tar.gz |
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 */ }; |