diff options
author | Matt Johnston <matt@ucc.asn.au> | 2018-01-26 00:27:48 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2018-01-26 00:27:48 +0800 |
commit | 63a8bcf3000181b3788387bf9a99a35d53415b9f (patch) | |
tree | a555906df015d1923d203557c59279e49e966636 /cli-tcpfwd.c | |
parent | 01f13031a395f98643eb5156954c4dd93638bba7 (diff) | |
download | dropbear-63a8bcf3000181b3788387bf9a99a35d53415b9f.tar.gz |
bind to port as well with -b
Diffstat (limited to 'cli-tcpfwd.c')
-rw-r--r-- | cli-tcpfwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |