diff options
Diffstat (limited to 'clientloop.c')
-rw-r--r-- | clientloop.c | 10 |
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 | ||
467 | static void | 467 | static void |
468 | client_global_keepalive(int type, u_int32_t seq, void *ctxt) | ||
469 | { | ||
470 | server_alive_timeouts = 0; | ||
471 | } | ||
472 | |||
473 | static void | ||
474 | client_global_request_reply(int type, u_int32_t seq, void *ctxt) | 468 | client_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 | } |
2089 | static void | 2081 | static void |
2090 | client_init_dispatch_13(void) | 2082 | client_init_dispatch_13(void) |