typo in the code
This commit is contained in:
parent
c060673bd1
commit
3787fa8259
@ -1006,7 +1006,7 @@
|
||||
foreach($config['dnsbl'] as &$blacklist) {
|
||||
$lookup = $ip . '.' . $blacklist;
|
||||
$host = gethostbyname($lookup);
|
||||
if($host != $looku) {
|
||||
if($host != $lookup) {
|
||||
// On NXDOMAIN (meaning it's not in the blacklist), gethostbyname() returns the host unchanged.
|
||||
if(preg_match('/^127\.0\.0\./', $host) && $host != '127.0.0.10')
|
||||
error(sprintf($config['error']['dnsbl'], $blacklist));
|
||||
|
Loading…
Reference in New Issue
Block a user