bugfix: regression: Networks not seen in long time show up in scan

commit d0bbeae66b introduced a regression previously fixed in commit 9aec7e019b

Resolves regression
This commit is contained in:
Conrad Lara - KG6JEI 2015-09-04 20:48:17 -07:00
parent 4a8ede950c
commit 0f8b82e074
1 changed files with 2 additions and 2 deletions

View File

@ -182,7 +182,7 @@ while(1)
{
if($line =~ /BSS\s+(([[:xdigit:]]{2}:){5}[[:xdigit:]]{2})/)
{
pushAP($signal, $chan, $key, $ssid, $host, $mac, $mode) ;
if ( $lastseen < 10000 ) { pushAP($signal, $chan, $key, $ssid, $host, $mac, $mode) }
$mac = uc $1;
$mode = "";
@ -213,7 +213,7 @@ while(1)
close(FILE);
pushAP($signal, $chan, $key, $ssid, $host, $mac, $mode) ;
if ( $lastseen < 10000 ) { pushAP($signal, $chan, $key, $ssid, $host, $mac, $mode) }
sleep 1 if not scalar @list and $loops != 1;
$mac = "";