diff options
author | Damien Miller <djm@mindrot.org> | 2000-04-19 16:26:12 +1000 |
---|---|---|
committer | Damien Miller <djm@mindrot.org> | 2000-04-19 16:26:12 +1000 |
commit | 8bb73be04e3e38be582c4b3843c765aab74017c2 (patch) | |
tree | 2050fbf49e4e94a9cef9bbe557787298111eb886 /channels.c | |
parent | 71795160ee9dbf15633b2c27679df62c11f79aaa (diff) |
- OpenBSD CVS updates
[channels.c]
- fix pr 1196, listen_port and port_to_connect interchanged
[scp.c]
- after completion, replace the progress bar ETA counter with a final
elapsed time; my idea, aaron wrote the patch
[ssh_config sshd_config]
- show 'Protocol' as an example, ok markus@
[sshd.c]
- missing xfree()
- Add missing header to bsd-misc.c
Diffstat (limited to 'channels.c')
-rw-r--r-- | channels.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -17,7 +17,7 @@ */ #include "includes.h" -RCSID("$Id: channels.c,v 1.25 2000/04/16 01:18:41 damien Exp $"); +RCSID("$Id: channels.c,v 1.26 2000/04/19 06:26:13 damien Exp $"); #include "ssh.h" #include "packet.h" @@ -1469,9 +1469,9 @@ channel_request_remote_forwarding(u_short listen_port, const char *host_to_conne packet_put_int(listen_port); } else { packet_start(SSH_CMSG_PORT_FORWARD_REQUEST); - packet_put_int(port_to_connect); - packet_put_cstring(host_to_connect); packet_put_int(listen_port); + packet_put_cstring(host_to_connect); + packet_put_int(port_to_connect); packet_send(); packet_write_wait(); /* |