diff options
author | Matt Johnston <matt@ucc.asn.au> | 2016-03-10 21:37:35 +0800 |
---|---|---|
committer | Matt Johnston <matt@ucc.asn.au> | 2016-03-10 21:37:35 +0800 |
commit | a991d3b56bdd2750c772cb48bc1b932ed1714ad3 (patch) | |
tree | d595af33e4b675dd7b229ed0922ac355413b38b4 /svr-tcpfwd.c | |
parent | 26a1a0a3bc4420e57334d3ecc827f14ffcb9f24a (diff) | |
parent | a84ce21aece29167f3312c127912404f6e486146 (diff) |
merge github master
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 d2f1427..9d051bf 100644 --- a/svr-tcpfwd.c +++ b/svr-tcpfwd.c @@ -269,7 +269,7 @@ static int newtcpdirect(struct Channel * channel) { goto out; } - snprintf(portstring, sizeof(portstring), "%d", destport); + snprintf(portstring, sizeof(portstring), "%u", destport); channel->conn_pending = connect_remote(desthost, portstring, channel_connect_done, channel); channel->prio = DROPBEAR_CHANNEL_PRIO_UNKNOWABLE; |