summaryrefslogtreecommitdiff
path: root/clientloop.c
diff options
context:
space:
mode:
Diffstat (limited to 'clientloop.c')
-rw-r--r--clientloop.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/clientloop.c b/clientloop.c
index 195615063..d3fdc2bfc 100644
--- a/clientloop.c
+++ b/clientloop.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: clientloop.c,v 1.186 2008/01/19 20:48:53 djm Exp $ */ 1/* $OpenBSD: clientloop.c,v 1.187 2008/01/23 01:56:54 dtucker Exp $ */
2/* 2/*
3 * Author: Tatu Ylonen <ylo@cs.hut.fi> 3 * Author: Tatu Ylonen <ylo@cs.hut.fi>
4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland 4 * Copyright (c) 1995 Tatu Ylonen <ylo@cs.hut.fi>, Espoo, Finland
@@ -465,12 +465,6 @@ client_check_window_change(void)
465} 465}
466 466
467static void 467static void
468client_global_keepalive(int type, u_int32_t seq, void *ctxt)
469{
470 server_alive_timeouts = 0;
471}
472
473static void
474client_global_request_reply(int type, u_int32_t seq, void *ctxt) 468client_global_request_reply(int type, u_int32_t seq, void *ctxt)
475{ 469{
476 server_alive_timeouts = 0; 470 server_alive_timeouts = 0;
@@ -2083,8 +2077,6 @@ client_init_dispatch_20(void)
2083 /* global request reply messages */ 2077 /* global request reply messages */
2084 dispatch_set(SSH2_MSG_REQUEST_FAILURE, &client_global_request_reply); 2078 dispatch_set(SSH2_MSG_REQUEST_FAILURE, &client_global_request_reply);
2085 dispatch_set(SSH2_MSG_REQUEST_SUCCESS, &client_global_request_reply); 2079 dispatch_set(SSH2_MSG_REQUEST_SUCCESS, &client_global_request_reply);
2086 dispatch_set(SSH2_MSG_IGNORE, &client_global_keepalive);
2087 dispatch_set(SSH2_MSG_UNIMPLEMENTED, &client_global_keepalive);
2088} 2080}
2089static void 2081static void
2090client_init_dispatch_13(void) 2082client_init_dispatch_13(void)