version 1.183, 2007/11/03 00:36:14 |
version 1.184, 2007/12/28 15:32:24 |
|
|
} |
} |
|
|
static void |
static void |
|
client_global_keepalive(int type, u_int32_t seq, void *ctxt) |
|
{ |
|
server_alive_timeouts = 0; |
|
} |
|
|
|
static void |
client_global_request_reply(int type, u_int32_t seq, void *ctxt) |
client_global_request_reply(int type, u_int32_t seq, void *ctxt) |
{ |
{ |
server_alive_timeouts = 0; |
server_alive_timeouts = 0; |
|
|
/* global request reply messages */ |
/* global request reply messages */ |
dispatch_set(SSH2_MSG_REQUEST_FAILURE, &client_global_request_reply); |
dispatch_set(SSH2_MSG_REQUEST_FAILURE, &client_global_request_reply); |
dispatch_set(SSH2_MSG_REQUEST_SUCCESS, &client_global_request_reply); |
dispatch_set(SSH2_MSG_REQUEST_SUCCESS, &client_global_request_reply); |
|
dispatch_set(SSH2_MSG_IGNORE, &client_global_keepalive); |
|
dispatch_set(SSH2_MSG_UNIMPLEMENTED, &client_global_keepalive); |
} |
} |
static void |
static void |
client_init_dispatch_13(void) |
client_init_dispatch_13(void) |