summaryrefslogtreecommitdiff
path: root/cli-tcpfwd.c
diff options
context:
space:
mode:
authorMatt Johnston <matt@ucc.asn.au>2018-09-07 23:02:20 +0800
committerMatt Johnston <matt@ucc.asn.au>2018-09-07 23:02:20 +0800
commit60e40ab5246ff04cace3838700ab17e2822f09a3 (patch)
tree0508676b768c8a66840ded635bc8ca8c82563540 /cli-tcpfwd.c
parentc1537ba5aa50ba410a5e389345cdf765e912d6b3 (diff)
downloaddropbear-60e40ab5246ff04cace3838700ab17e2822f09a3.tar.gz
FIx remote forward listeners
Diffstat (limited to 'cli-tcpfwd.c')
-rw-r--r--cli-tcpfwd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cli-tcpfwd.c b/cli-tcpfwd.c
index 662a407..aa112b2 100644
--- a/cli-tcpfwd.c
+++ b/cli-tcpfwd.c
@@ -135,7 +135,7 @@ static int cli_localtcp(const char* listenaddr,
tcpinfo->chantype = &cli_chan_tcplocal;
tcpinfo->tcp_type = direct;
- ret = listen_tcpfwd(tcpinfo);
+ ret = listen_tcpfwd(tcpinfo, NULL);
if (ret == DROPBEAR_FAILURE) {
m_free(tcpinfo);