summaryrefslogtreecommitdiffhomepage
path: root/svr-session.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2014-08-13 21:48:47 +0800
committerMatt Johnston <matt@ucc.asn.au>2014-08-13 21:48:47 +0800
commit10eb218fb022f435d75fa6e8e6fc6234e66f31b9 (patch)
tree09f7bc6c2ea44685ca1af2de59a80ced4783cc8c /svr-session.c
parentbfb2b30de6332e202e4ce95f5e7cae6190e73fa3 (diff)
Don't send SSH_MSG_UNIMPLEMENTED for keepalive responses
Diffstat (limited to 'svr-session.c')
-rw-r--r--svr-session.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/svr-session.c b/svr-session.c
index 4d3c058..74a7b16 100644
--- a/svr-session.c
+++ b/svr-session.c
@@ -58,6 +58,7 @@ static const packettype svr_packettypes[] = {
{SSH_MSG_CHANNEL_OPEN, recv_msg_channel_open},
{SSH_MSG_CHANNEL_EOF, recv_msg_channel_eof},
{SSH_MSG_CHANNEL_CLOSE, recv_msg_channel_close},
+ {SSH_MSG_REQUEST_FAILURE, ignore_recv_msg_request_failure}, /* for keepalive */
#ifdef USING_LISTENERS
{SSH_MSG_CHANNEL_OPEN_CONFIRMATION, recv_msg_channel_open_confirmation},
{SSH_MSG_CHANNEL_OPEN_FAILURE, recv_msg_channel_open_failure},