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 /svr-tcpfwd.c | |
parent | 9c7ecf6d14a82c1b1a97e1b4a328460ba8762299 (diff) |
bind to port as well with -b
Diffstat (limited to 'svr-tcpfwd.c')
-rw-r--r-- | svr-tcpfwd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/svr-tcpfwd.c b/svr-tcpfwd.c index fc3f46e..480beb6 100644 --- a/svr-tcpfwd.c +++ b/svr-tcpfwd.c @@ -285,7 +285,7 @@ static int newtcpdirect(struct Channel * channel) { } snprintf(portstring, sizeof(portstring), "%u", destport); - channel->conn_pending = connect_remote(desthost, portstring, channel_connect_done, channel, NULL); + channel->conn_pending = connect_remote(desthost, portstring, channel_connect_done, channel, NULL, NULL); channel->prio = DROPBEAR_CHANNEL_PRIO_UNKNOWABLE; |