comparison 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
comparison
equal deleted inserted replaced
1464:ad637c9e0f6f 1465:f7a53832501d
283 TRACE(("leave newtcpdirect: port > 65535")) 283 TRACE(("leave newtcpdirect: port > 65535"))
284 goto out; 284 goto out;
285 } 285 }
286 286
287 snprintf(portstring, sizeof(portstring), "%u", destport); 287 snprintf(portstring, sizeof(portstring), "%u", destport);
288 channel->conn_pending = connect_remote(desthost, portstring, channel_connect_done, channel); 288 channel->conn_pending = connect_remote(desthost, portstring, channel_connect_done, channel, NULL);
289 289
290 channel->prio = DROPBEAR_CHANNEL_PRIO_UNKNOWABLE; 290 channel->prio = DROPBEAR_CHANNEL_PRIO_UNKNOWABLE;
291 291
292 err = SSH_OPEN_IN_PROGRESS; 292 err = SSH_OPEN_IN_PROGRESS;
293 293