summaryrefslogtreecommitdiff
path: root/cli-tcpfwd.c
diff options
context:
space:
mode:
authorhouseofkodai <karthik@houseofkodai.in>2017-05-01 08:26:15 +0530
committerMatt Johnston <matt@ucc.asn.au>2018-01-26 00:28:25 +0800
commit9c7ecf6d14a82c1b1a97e1b4a328460ba8762299 (patch)
treea4cce47cf5ff76f239ff832965822c2e0164cd05 /cli-tcpfwd.c
parent917722257d11ea7a33990c170542aeff2b6061b1 (diff)
downloaddropbear-9c7ecf6d14a82c1b1a97e1b4a328460ba8762299.tar.gz
cli_bind_address_connect
* replaces -b dummy option in dbclient to be similar with openssh -b option * useful in multi-wan connections
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 78f61f7..b9ea91e 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);
+ channel->conn_pending = connect_remote(fwd->connectaddr, portstring, channel_connect_done, channel, NULL);
channel->prio = DROPBEAR_CHANNEL_PRIO_UNKNOWABLE;