mirror of
https://github.com/rofl0r/proxychains-ng.git
synced 2024-12-21 11:48:57 +00: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
|
||||
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];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user