summaryrefslogtreecommitdiff
path: root/cli-tcpfwd.c
diff options
context:
space:
mode:
authorhouseofkodai <karthik@houseofkodai.in>2017-05-01 08:26:15 +0530
committerhouseofkodai <karthik@houseofkodai.in>2017-05-01 08:26:15 +0530
commit01f13031a395f98643eb5156954c4dd93638bba7 (patch)
tree9cad9b8910fc23affd62b32bf0a930c57731196f /cli-tcpfwd.c
parente543e2145c660e7178230e9ed3dc3ea3acd1f47c (diff)
downloaddropbear-01f13031a395f98643eb5156954c4dd93638bba7.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;