mirror of https://github.com/aredn/aredn.git
bugfix: regression: Networks not seen in long time show up in scan
commitd0bbeae66b
introduced a regression previously fixed in commit9aec7e019b
Resolves regression
This commit is contained in:
parent
4a8ede950c
commit
0f8b82e074
|
@ -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 = "";
|
||||
|
|
Loading…
Reference in New Issue