summaryrefslogtreecommitdiff
path: root/svr-tcpfwd.c
diff options
context:
space:
mode:
Diffstat (limited to 'svr-tcpfwd.c')
-rw-r--r--svr-tcpfwd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/svr-tcpfwd.c b/svr-tcpfwd.c
index 6e70d67..53a115e 100644
--- a/svr-tcpfwd.c
+++ b/svr-tcpfwd.c
@@ -208,6 +208,7 @@ static int svr_remotetcpreq() {
tcpinfo->listenaddr = bindaddr;
tcpinfo->listenport = port;
tcpinfo->chantype = &svr_chan_tcpremote;
+ tcpinfo->tcp_type = forwarded;
ret = listen_tcpfwd(tcpinfo);