summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_dns.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2016-08-16 14:15:56 +0930
committerPhil Davis <phil.davis@inf.org>2016-08-16 14:15:56 +0930
commit9d3e8723171c727cf43338bd8e95ab2bb7e6a66c (patch)
tree0c6bfba9d9404fc5d0adeb954268090ab82f56bc /src/usr/local/www/diag_dns.php
parent0ed3b15981b4451efb11839d6ee7b9acf1ed1d84 (diff)
downloadpfsense-9d3e8723171c727cf43338bd8e95ab2bb7e6a66c.zip
pfsense-9d3e8723171c727cf43338bd8e95ab2bb7e6a66c.tar.gz
Code style and comments
No functional change - just making style consistent
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