comparison cli-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 e47e4b8a005d
children f787f60f8e45
comparison
equal deleted inserted replaced
1464:ad637c9e0f6f 1465:f7a53832501d
272 origaddr, origport); 272 origaddr, origport);
273 goto out; 273 goto out;
274 } 274 }
275 275
276 snprintf(portstring, sizeof(portstring), "%u", fwd->connectport); 276 snprintf(portstring, sizeof(portstring), "%u", fwd->connectport);
277 channel->conn_pending = connect_remote(fwd->connectaddr, portstring, channel_connect_done, channel); 277 channel->conn_pending = connect_remote(fwd->connectaddr, portstring, channel_connect_done, channel, NULL);
278 278
279 channel->prio = DROPBEAR_CHANNEL_PRIO_UNKNOWABLE; 279 channel->prio = DROPBEAR_CHANNEL_PRIO_UNKNOWABLE;
280 280
281 err = SSH_OPEN_IN_PROGRESS; 281 err = SSH_OPEN_IN_PROGRESS;
282 282