mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/10257] Slightly adjust comments about AAAA records on Windows XP/2003.
PHPBB3-10257
This commit is contained in:
parent
ae8eee16cc
commit
271c277ecc
1 changed files with 4 additions and 1 deletions
|
@ -3690,11 +3690,14 @@ function phpbb_checkdnsrr($host, $type = 'MX')
|
||||||
|
|
||||||
default:
|
default:
|
||||||
case 'AAAA':
|
case 'AAAA':
|
||||||
|
// AAAA records returned by nslookup on Windows XP/2003 have this format.
|
||||||
|
// Later Windows versions use the A record format below for AAAA records.
|
||||||
if (stripos($line, "$host AAAA IPv6 address") === 0)
|
if (stripos($line, "$host AAAA IPv6 address") === 0)
|
||||||
{
|
{
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
//No break, newer versions of Windows output AAAA in the same way as the A records
|
// No break
|
||||||
|
|
||||||
case 'A':
|
case 'A':
|
||||||
if (!empty($host_matches))
|
if (!empty($host_matches))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue