diff options
author | Matt Johnston <matt@ucc.asn.au> | 2020-12-06 21:27:25 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2020-12-06 21:27:25 +0800 |
commit | 007a5925dcdc63c9aa2550c902a8a0493465ba20 (patch) | |
tree | 6d91fc70265737446850301b1997a0f130976512 /cli-tcpfwd.c | |
parent | d439ed26e41895acbfea932c369babff8f1cbb3a (diff) |
fuzz: work around fuzz_connect_remote() limitations
Diffstat (limited to 'cli-tcpfwd.c')
-rw-r--r-- | cli-tcpfwd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cli-tcpfwd.c b/cli-tcpfwd.c index e6387d9..4ab7748 100644 --- a/cli-tcpfwd.c +++ b/cli-tcpfwd.c @@ -273,11 +273,11 @@ static int newtcpforwarded(struct Channel * channel) { origaddr, origport); goto out; } + + channel->prio = DROPBEAR_CHANNEL_PRIO_UNKNOWABLE; snprintf(portstring, sizeof(portstring), "%u", fwd->connectport); channel->conn_pending = connect_remote(fwd->connectaddr, portstring, channel_connect_done, channel, NULL, NULL); - - channel->prio = DROPBEAR_CHANNEL_PRIO_UNKNOWABLE; err = SSH_OPEN_IN_PROGRESS; |