summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_ndp.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2015-05-27 16:25:15 +0545
committerPhil Davis <phil.davis@inf.org>2015-05-27 16:25:15 +0545
commit699737d90221580b18adfbd30abdbd609803cffd (patch)
treec899d693cdc72c36c9893d8f58d5f9d18217f703 /usr/local/www/diag_ndp.php
parent7fd939939c7cfd73ea5e944e05ce28a73cb073e2 (diff)
downloadpfsense-699737d90221580b18adfbd30abdbd609803cffd.zip
pfsense-699737d90221580b18adfbd30abdbd609803cffd.tar.gz
Code style www diag more bits
Diffstat (limited to 'usr/local/www/diag_ndp.php')
-rw-r--r--usr/local/www/diag_ndp.php5
1 files changed, 2 insertions, 3 deletions
diff --git a/usr/local/www/diag_ndp.php b/usr/local/www/diag_ndp.php
index f2fcfd5..233d8ee 100644
--- a/usr/local/www/diag_ndp.php
+++ b/usr/local/www/diag_ndp.php
@@ -76,8 +76,7 @@ foreach ($rawdata as $line) {
}
/* FIXME: Not ipv6 compatible dns resolving. PHP needs fixing */
-function _getHostName($mac,$ip)
-{
+function _getHostName($mac, $ip) {
if (is_ipaddr($ip)) {
list($ip, $scope) = explode("%", $ip);
if (gethostbyaddr($ip) <> "" and gethostbyaddr($ip) <> $ip) {
@@ -106,7 +105,7 @@ $data = msort($data, "dnsresolve");
// Load MAC-Manufacturer table
$mac_man = load_mac_manufacturer_table();
-$pgtitle = array(gettext("Diagnostics"),gettext("NDP Table"));
+$pgtitle = array(gettext("Diagnostics"), gettext("NDP Table"));
include("head.inc");
?>
OpenPOWER on IntegriCloud