diff options
author | Renato Botelho <renato.botelho@bluepex.com> | 2010-08-12 11:08:57 -0300 |
---|---|---|
committer | Renato Botelho <renato.botelho@bluepex.com> | 2010-08-12 11:08:57 -0300 |
commit | 4d71d68cd5a3af1f501f910bb224cad5ea76aaa9 (patch) | |
tree | 8ba20db66f08fa7ee6614edd50b4249001507b3d | |
parent | 8cb8751e21a4390fd99f81afffec684919d1c9b7 (diff) | |
download | pfsense-4d71d68cd5a3af1f501f910bb224cad5ea76aaa9.zip pfsense-4d71d68cd5a3af1f501f910bb224cad5ea76aaa9.tar.gz |
Make php -l happy renaming local function getHostName to _getHostName
-rwxr-xr-x | usr/local/www/diag_arp.php | 4 |
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 |