Merge branch 'wscan' into release-3.15.1.0

bugfix: wscan bogus hostname lookup when multiple entries in arp table
This commit is contained in:
AE6XE 2015-07-19 18:55:26 -07:00
commit 92dc43209f
1 changed files with 1 additions and 1 deletions

View File

@ -183,7 +183,7 @@ while(1)
{
pushAP($signal, $mychan, $key, $myssid, $host, $mac, $mode);
$mac = $1;
$ip = `grep $mac /proc/net/arp`;
$ip = `grep $mac /proc/net/arp | egrep "^10.*\$" | tail -1`;
$mac = uc $mac;
if ( $ip ne "" )
{