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:28:25 +0800 |
commit | e4ac7ea1ca910e0d245232a8ab16415f252b006b (patch) | |
tree | ffad8dc3321a7f3b60bef90a7d27ff504222711f /cli-tcpfwd.c | |
parent | 9c7ecf6d14a82c1b1a97e1b4a328460ba8762299 (diff) |
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; |