mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 10:04:41 +00:00
system: fix monitor services disappearing after 1c890b8cce666
This commit is contained in:
parent
1fe5395d6a
commit
0942687097
@ -109,7 +109,7 @@ function dpinger_instances($extended = false)
|
||||
$instances = [];
|
||||
|
||||
foreach ((new \OPNsense\Routing\Gateways())->gatewaysIndexedByName() as $name => $gateway) {
|
||||
if (isset($gateway['monitor_disable']) && !$extended) {
|
||||
if (!empty($gateway['monitor_disable']) && !$extended) {
|
||||
/* do not monitor if such was requested */
|
||||
continue;
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user