summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_arp.php
diff options
context:
space:
mode:
authorRenato Botelho <renato.botelho@bluepex.com>2010-08-12 11:08:57 -0300
committerRenato Botelho <renato.botelho@bluepex.com>2010-08-12 11:08:57 -0300
commit4d71d68cd5a3af1f501f910bb224cad5ea76aaa9 (patch)
tree8ba20db66f08fa7ee6614edd50b4249001507b3d /usr/local/www/diag_arp.php
parent8cb8751e21a4390fd99f81afffec684919d1c9b7 (diff)
downloadpfsense-4d71d68cd5a3af1f501f910bb224cad5ea76aaa9.zip
pfsense-4d71d68cd5a3af1f501f910bb224cad5ea76aaa9.tar.gz
Make php -l happy renaming local function getHostName to _getHostName
Diffstat (limited to 'usr/local/www/diag_arp.php')
-rwxr-xr-xusr/local/www/diag_arp.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/diag_arp.php b/usr/local/www/diag_arp.php
index 3aff783..fa6cee3 100755
--- a/usr/local/www/diag_arp.php
+++ b/usr/local/www/diag_arp.php
@@ -235,7 +235,7 @@ foreach ($rawdata as $line) {
}
}
-function getHostName($mac,$ip)
+function _getHostName($mac,$ip)
{
global $dhcpmac, $dhcpip;
@@ -273,7 +273,7 @@ ob_implicit_flush(1);
// is to sort the list by hostnames, alpha and then the non
// resolvable addresses will appear last in the list.
foreach ($data as &$entry) {
- $dns = trim(getHostName($entry['mac'], $entry['ip']));
+ $dns = trim(_getHostName($entry['mac'], $entry['ip']));
if(trim($dns))
$entry['dnsresolve'] = "$dns";
else
OpenPOWER on IntegriCloud