Mercurial > dropbear
comparison cli-tcpfwd.c @ 1466:f787f60f8e45
bind to port as well with -b
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Fri, 26 Jan 2018 00:27:48 +0800 |
parents | f7a53832501d |
children | d68d61e7056a |
comparison
equal
deleted
inserted
replaced
1465:f7a53832501d | 1466:f787f60f8e45 |
---|---|
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, NULL); | 277 channel->conn_pending = connect_remote(fwd->connectaddr, portstring, channel_connect_done, channel, NULL, 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 |