aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2011-07-13 01:05:34 +0200
committerAndreas Fischer <bantu@phpbb.com>2011-07-13 01:06:32 +0200
commit271c277ecc570de1ed0f5e38347eb00d987fbbd1 (patch)
tree1f82f6e85f5a4f2b0fc1c78dd3aa393b22dbea95
parentae8eee16cce29ea3ecae95ac19c49b0fa62ff978 (diff)
downloadforums-271c277ecc570de1ed0f5e38347eb00d987fbbd1.tar
forums-271c277ecc570de1ed0f5e38347eb00d987fbbd1.tar.gz
forums-271c277ecc570de1ed0f5e38347eb00d987fbbd1.tar.bz2
forums-271c277ecc570de1ed0f5e38347eb00d987fbbd1.tar.xz
forums-271c277ecc570de1ed0f5e38347eb00d987fbbd1.zip
[ticket/10257] Slightly adjust comments about AAAA records on Windows XP/2003.
PHPBB3-10257
-rw-r--r--phpBB/includes/functions.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/phpBB/includes/functions.php b/phpBB/includes/functions.php
index c878efcd6b..121386b769 100644
--- a/phpBB/includes/functions.php
+++ b/phpBB/includes/functions.php
@@ -3690,11 +3690,14 @@ function phpbb_checkdnsrr($host, $type = 'MX')
default:
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)
{
return true;
}
- //No break, newer versions of Windows output AAAA in the same way as the A records
+ // No break
+
case 'A':
if (!empty($host_matches))
{