mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 00:54:41 +00:00
Routing, gateways. ditch return_gateways_array() in core_services() to detect dpinger services. for https://github.com/opnsense/core/issues/2279
This commit is contained in:
parent
c593906501
commit
c7fa84248e
@ -83,7 +83,7 @@ function core_services()
|
||||
}
|
||||
|
||||
if (is_dpinger_enabled()) {
|
||||
$gateways_arr_all = return_gateways_array(true);
|
||||
$gateways_arr_all = (new \OPNsense\Routing\Gateways(legacy_interfaces_details()))->gatewaysIndexedByName(true);
|
||||
|
||||
foreach ($gateways_arr_all as $name => $gateway) {
|
||||
if (isset($gateway['monitor_disable'])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user