summaryrefslogtreecommitdiffstats
path: root/usr
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2015-02-23 16:17:53 -0300
committerRenato Botelho <garga@FreeBSD.org>2015-02-23 16:17:53 -0300
commitb2507ae675b4027b76f3736804a10b80866e5643 (patch)
tree7503f672c5cf10814d55f160862547a96a8eb28a /usr
parente6daaa3bd49c94a855c67e21b70b5737a0ada78d (diff)
parent6777fc3b6efb59bf42ee709508cf384ec5890dcf (diff)
downloadpfsense-b2507ae675b4027b76f3736804a10b80866e5643.zip
pfsense-b2507ae675b4027b76f3736804a10b80866e5643.tar.gz
Merge pull request #1497 from phil-davis/patch-2
Diffstat (limited to 'usr')
-rw-r--r--usr/local/www/diag_arp.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_arp.php b/usr/local/www/diag_arp.php
index ffe960f..16b3303 100644
--- a/usr/local/www/diag_arp.php
+++ b/usr/local/www/diag_arp.php
@@ -251,7 +251,7 @@ function _getHostName($mac,$ip) {
return $dhcpip[$ip];
else{
exec("host -W 1 " . escapeshellarg($ip), $output);
- if (preg_match('/.*pointer ([A-Za-z0-9.-]+)\..*/',$output[0],$matches)) {
+ if (preg_match('/.*pointer ([A-Za-z_0-9.-]+)\..*/',$output[0],$matches)) {
if ($matches[1] <> $ip)
return $matches[1];
}
OpenPOWER on IntegriCloud