summaryrefslogtreecommitdiffhomepage
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
commitd2e71ade726794d888e998eda0b094a70746160b (patch)
treeffc9270ec23e57c5bbf1915849a5b02bc8b746fc /cli-tcpfwd.c
parente7504b33118f30e981195b6022b8ee61a58b2e45 (diff)
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);