diff svr-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 7ce577234a10
line wrap: on
line diff
--- a/svr-tcpfwd.c	Sun Dec 04 16:13:11 2005 +0000
+++ b/svr-tcpfwd.c	Tue Dec 06 16:51:55 2005 +0000
@@ -208,6 +208,7 @@
 	tcpinfo->listenaddr = bindaddr;
 	tcpinfo->listenport = port;
 	tcpinfo->chantype = &svr_chan_tcpremote;
+	tcpinfo->tcp_type = forwarded;
 
 	ret = listen_tcpfwd(tcpinfo);