From e4ac7ea1ca910e0d245232a8ab16415f252b006b Mon Sep 17 00:00:00 2001 From: Matt Johnston Date: Fri, 26 Jan 2018 00:27:48 +0800 Subject: bind to port as well with -b --- cli-tcpfwd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli-tcpfwd.c') diff --git a/cli-tcpfwd.c b/cli-tcpfwd.c index b9ea91e..1a1850d 100644 --- a/cli-tcpfwd.c +++ b/cli-tcpfwd.c @@ -274,7 +274,7 @@ static int newtcpforwarded(struct Channel * channel) { } snprintf(portstring, sizeof(portstring), "%u", fwd->connectport); - channel->conn_pending = connect_remote(fwd->connectaddr, portstring, channel_connect_done, channel, NULL); + channel->conn_pending = connect_remote(fwd->connectaddr, portstring, channel_connect_done, channel, NULL, NULL); channel->prio = DROPBEAR_CHANNEL_PRIO_UNKNOWABLE; -- cgit v1.2.3