Mercurial > dropbear
diff svr-tcpfwd.c @ 1465:f7a53832501d
cli_bind_address_connect
* replaces -b dummy option in dbclient to be similar with openssh -b option
* useful in multi-wan connections
author | houseofkodai <karthik@houseofkodai.in> |
---|---|
date | Mon, 01 May 2017 08:26:15 +0530 |
parents | ad637c9e0f6f |
children | f787f60f8e45 |
line wrap: on
line diff
--- a/svr-tcpfwd.c Thu Jan 25 19:51:41 2018 +0530 +++ b/svr-tcpfwd.c Mon May 01 08:26:15 2017 +0530 @@ -285,7 +285,7 @@ } snprintf(portstring, sizeof(portstring), "%u", destport); - channel->conn_pending = connect_remote(desthost, portstring, channel_connect_done, channel); + channel->conn_pending = connect_remote(desthost, portstring, channel_connect_done, channel, NULL); channel->prio = DROPBEAR_CHANNEL_PRIO_UNKNOWABLE;