mirror of
https://github.com/rofl0r/proxychains-ng
synced 2025-01-06 21:02:55 +08:00
fix compiler parentheses warning in dnat code
This commit is contained in:
parent
596f0028cb
commit
6c029fdf47
@ -596,7 +596,7 @@ int connect(int sock, const struct sockaddr *addr, unsigned int len) {
|
|||||||
|
|
||||||
// more specific first
|
// more specific first
|
||||||
if (!v6) for(i = 0; i < num_dnats && !remote_dns_connect && !dnat; i++)
|
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))
|
if(dnats[i].orig_port && (dnats[i].orig_port == port))
|
||||||
dnat = &dnats[i];
|
dnat = &dnats[i];
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user