diff cli-tcpfwd.c @ 1620:572a7aefa188 bugfix

FIx remote forward listeners
author Matt Johnston <matt@ucc.asn.au>
date Fri, 07 Sep 2018 23:02:20 +0800
parents d68d61e7056a
children 79eef94ccea9
line wrap: on
line diff
--- a/cli-tcpfwd.c	Thu Aug 23 23:59:24 2018 +0800
+++ b/cli-tcpfwd.c	Fri Sep 07 23:02:20 2018 +0800
@@ -135,7 +135,7 @@
 	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);