diff cli-tcpfwd.c @ 259:c049490e43fe

* fix -L forwarding on the client, broke last rev
author Matt Johnston <matt@ucc.asn.au>
date Tue, 06 Dec 2005 16:51:55 +0000
parents 306499676384
children 805e557fdff7
line wrap: on
line diff
--- a/cli-tcpfwd.c	Sun Dec 04 16:13:11 2005 +0000
+++ b/cli-tcpfwd.c	Tue Dec 06 16:51:55 2005 +0000
@@ -107,6 +107,7 @@
 	tcpinfo->listenport = listenport;
 
 	tcpinfo->chantype = &cli_chan_tcplocal;
+	tcpinfo->tcp_type = direct;
 
 	ret = listen_tcpfwd(tcpinfo);