Browse Subversion Repository
Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/ssh.c
Parent Directory
| Revision Log
| Patch
| 3438 |
} |
} |
| 3439 |
} |
} |
| 3440 |
|
|
| 3441 |
void SSH_request_forwarding(PTInstVar pvar, int from_server_port, |
void SSH_request_forwarding(PTInstVar pvar, char FAR * bind_address, int from_server_port, |
| 3442 |
char FAR * to_local_host, int to_local_port) |
char FAR * to_local_host, int to_local_port) |
| 3443 |
{ |
{ |
| 3444 |
if (SSHv1(pvar)) { |
if (SSHv1(pvar)) { |
| 3470 |
s = "tcpip-forward"; |
s = "tcpip-forward"; |
| 3471 |
buffer_put_string(msg, s, strlen(s)); // ctype |
buffer_put_string(msg, s, strlen(s)); // ctype |
| 3472 |
buffer_put_char(msg, 1); // want reply |
buffer_put_char(msg, 1); // want reply |
| 3473 |
s = "0.0.0.0"; |
buffer_put_string(msg, bind_address, strlen(bind_address)); |
|
buffer_put_string(msg, s, strlen(s)); |
|
| 3474 |
|
|
| 3475 |
buffer_put_int(msg, from_server_port); // listening port |
buffer_put_int(msg, from_server_port); // listening port |
| 3476 |
|
|
|
|
Legend:
| Removed from v.3376 |
|
| changed lines |
| |
Added in v.3808 |
|
|
| |