- 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
diff --git a/channels.c b/channels.c
index 5f3b0d1..a009158 100644
--- a/channels.c
+++ b/channels.c
@@ -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 @@
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();
/*