diff options
author | Matt Johnston <matt@ucc.asn.au> | 2015-02-14 09:56:11 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2015-02-14 09:56:11 +0800 |
commit | 21f2af66311b1488fb1539c28eb8cd32fd74cd65 (patch) | |
tree | 04205885770a911989f45fa031271fd985a8793a /svr-tcpfwd.c | |
parent | ec6ccd02c663e7b31f3d3ae17c0c6bcd23c66fac (diff) | |
download | dropbear-21f2af66311b1488fb1539c28eb8cd32fd74cd65.tar.gz |
connect_remote() is now always non-blocking
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 e5f219e..f2c4b93 100644 --- a/svr-tcpfwd.c +++ b/svr-tcpfwd.c @@ -270,7 +270,7 @@ static int newtcpdirect(struct Channel * channel) { } snprintf(portstring, sizeof(portstring), "%d", destport); - sock = connect_remote(desthost, portstring, 1, NULL); + sock = connect_remote(desthost, portstring, NULL); if (sock < 0) { err = SSH_OPEN_CONNECT_FAILED; TRACE(("leave newtcpdirect: sock failed")) |