Fix previous commit
parent
8173b42a8a
commit
5b48abe833
|
@ -77,9 +77,11 @@ class NoProxyPattern
|
||||||
// it must be proxied to let the proxy's DNS resolve it
|
// it must be proxied to let the proxy's DNS resolve it
|
||||||
if ($ip === $host) {
|
if ($ip === $host) {
|
||||||
$match = false;
|
$match = false;
|
||||||
}
|
} else {
|
||||||
|
// match resolved IP against the rule
|
||||||
$match = self::inCIDRBlock($ruleHost, $ip);
|
$match = self::inCIDRBlock($ruleHost, $ip);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
} else {
|
} else {
|
||||||
// match end of domain
|
// match end of domain
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue