mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-19 19:15:22 +00:00
system: oversighs in #8199
This commit is contained in:
parent
aaebe4e9b7
commit
e28aa1ab01
@ -30,6 +30,7 @@
|
||||
require_once 'config.inc';
|
||||
require_once 'util.inc';
|
||||
require_once 'system.inc';
|
||||
require_once 'interfaces.inc';
|
||||
|
||||
$gwnames = [];
|
||||
|
||||
|
||||
@ -64,6 +64,8 @@ while (1) {
|
||||
continue;
|
||||
}
|
||||
|
||||
$alarm = false;
|
||||
|
||||
/* clear known gateways in first step to flush unknown in second step */
|
||||
$cleanup = $mode;
|
||||
foreach ($status as $report) {
|
||||
@ -75,8 +77,6 @@ while (1) {
|
||||
|
||||
/* run main watcher pass */
|
||||
foreach ($status as $report) {
|
||||
$alarm = false;
|
||||
|
||||
if ($report['loss'] == '~') {
|
||||
/* wait for valid data before triggering an alarm */
|
||||
continue;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user