version 1.205, 2003/12/09 17:30:05 |
version 1.206, 2003/12/16 15:49:51 |
|
|
} |
} |
|
|
void |
void |
client_global_request_reply(int type, u_int32_t seq, void *ctxt) |
client_global_request_reply_fwd(int type, u_int32_t seq, void *ctxt) |
{ |
{ |
int i; |
int i; |
|
|
i = client_global_request_id++; |
i = client_global_request_id++; |
if (i >= options.num_remote_forwards) { |
if (i >= options.num_remote_forwards) |
debug("client_global_request_reply: too many replies %d > %d", |
|
i, options.num_remote_forwards); |
|
return; |
return; |
} |
|
debug("remote forward %s for: listen %d, connect %s:%d", |
debug("remote forward %s for: listen %d, connect %s:%d", |
type == SSH2_MSG_REQUEST_SUCCESS ? "success" : "failure", |
type == SSH2_MSG_REQUEST_SUCCESS ? "success" : "failure", |
options.remote_forwards[i].port, |
options.remote_forwards[i].port, |