mirror of
https://github.com/vichan-devel/vichan.git
synced 2025-01-19 09:27:24 +01:00
wasn't aware of DNS function
This commit is contained in:
parent
ca7955ecfc
commit
3f4381cf40
@ -2269,7 +2269,7 @@ function rDNS($ip_addr) {
|
||||
|
||||
$isip = filter_var($host, FILTER_VALIDATE_IP);
|
||||
|
||||
if ($config['fcrdns'] && !$isip && gethostbyname($host) != $ip_addr) {
|
||||
if ($config['fcrdns'] && !$isip && DNS($host) != $ip_addr) {
|
||||
$host = $ip_addr;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user