mirror of
https://github.com/rofl0r/proxychains-ng.git
synced 2024-12-22 04:08:47 +00:00
Fix localnet issue with fix suggested in #issue 4 on github.
This commit is contained in:
parent
8fd0d95bc3
commit
75bd465038
@ -338,7 +338,7 @@ int connect (int sock, const struct sockaddr *addr, unsigned int len)
|
||||
if ((localnet_addr[i].in_addr.s_addr & localnet_addr[i].netmask.s_addr)
|
||||
== (p_addr_in->s_addr & localnet_addr[i].netmask.s_addr))
|
||||
{
|
||||
if (localnet_addr[i].port && localnet_addr[i].port == port) {
|
||||
if (localnet_addr[i].port || localnet_addr[i].port == port) {
|
||||
PDEBUG("accessing localnet using true_connect\n");
|
||||
return true_connect(sock,addr,len);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user