diff options
Diffstat (limited to 'usr')
-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 |