summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_dns.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/local/www/diag_dns.php')
-rw-r--r--src/usr/local/www/diag_dns.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/local/www/diag_dns.php b/src/usr/local/www/diag_dns.php
index 32a99ec..26c45c9 100644
--- a/src/usr/local/www/diag_dns.php
+++ b/src/usr/local/www/diag_dns.php
@@ -55,7 +55,7 @@ function resolve_host_addresses($host) {
$resolved = array();
$errreporting = error_reporting();
error_reporting($errreporting & ~E_WARNING);// dns_get_record throws a warning if nothing is resolved..
- foreach($recordtypes as $recordtype) {
+ foreach ($recordtypes as $recordtype) {
$tmp = dns_get_record($host, $recordtype);
if (is_array($tmp)) {
$dnsresult = array_merge($dnsresult, $tmp);
@@ -63,7 +63,7 @@ function resolve_host_addresses($host) {
}
error_reporting($errreporting);// restore original php warning/error settings.
- foreach($dnsresult as $item) {
+ foreach ($dnsresult as $item) {
$newitem = array();
$newitem['type'] = $item['type'];
switch ($item['type']) {
OpenPOWER on IntegriCloud