system: oversighs in #8199

This commit is contained in:
Franco Fichtner 2025-02-14 12:15:12 +01:00
parent aaebe4e9b7
commit e28aa1ab01
2 changed files with 3 additions and 2 deletions

View File

@ -30,6 +30,7 @@
require_once 'config.inc';
require_once 'util.inc';
require_once 'system.inc';
require_once 'interfaces.inc';
$gwnames = [];

View File

@ -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;