fix some minor bugs

This commit is contained in:
joyqi
2017-10-13 11:03:38 +08:00
parent eeedef972a
commit 242fc1a4cb
4 changed files with 3 additions and 4 deletions
+1 -1
View File
@@ -1120,7 +1120,7 @@ EOF;
$address = gethostbyname($host);
$inet = inet_pton($address);
if ($inet === false) {
if (false === $inet) {
// 有可能是ipv6的地址
$records = dns_get_record($host, DNS_AAAA);