1
0
Fork 0

Fix previous commit

pull/2452/merge
Jordi Boggiano 2013-11-22 15:51:16 +01:00
parent 8173b42a8a
commit 5b48abe833
1 changed files with 3 additions and 1 deletions

View File

@ -77,9 +77,11 @@ class NoProxyPattern
// it must be proxied to let the proxy's DNS resolve it
if ($ip === $host) {
$match = false;
}
} else {
// match resolved IP against the rule
$match = self::inCIDRBlock($ruleHost, $ip);
}
}
} else {
// match end of domain