1
0
mirror of https://github.com/rofl0r/proxychains-ng synced 2026-05-13 17:03:07 +08:00

fix compiler parentheses warning in dnat code

This commit is contained in:
rofl0r
2021-01-08 17:45:35 +00:00
Unverified
parent 596f0028cb
commit 6c029fdf47
+1 -1
View File
@@ -596,7 +596,7 @@ int connect(int sock, const struct sockaddr *addr, unsigned int len) {
// more specific first
if (!v6) for(i = 0; i < num_dnats && !remote_dns_connect && !dnat; i++)
if((dnats[i].orig_dst.s_addr == p_addr_in->s_addr))
if(dnats[i].orig_dst.s_addr == p_addr_in->s_addr)
if(dnats[i].orig_port && (dnats[i].orig_port == port))
dnat = &dnats[i];