diff options
Diffstat (limited to 'cli-tcpfwd.c')
-rw-r--r-- | cli-tcpfwd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cli-tcpfwd.c b/cli-tcpfwd.c index 662a407..e6387d9 100644 --- a/cli-tcpfwd.c +++ b/cli-tcpfwd.c @@ -40,6 +40,7 @@ const struct ChanType cli_chan_tcpremote = { newtcpforwarded, NULL, NULL, + NULL, NULL }; #endif @@ -55,6 +56,7 @@ static const struct ChanType cli_chan_tcplocal = { tcp_prio_inithandler, NULL, NULL, + NULL, NULL }; #endif @@ -135,7 +137,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); |