mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-17 01:54:49 +00:00
firewall: do not switch gateway on bootup
This commit is contained in:
parent
09b2bec389
commit
0e286b3a34
@ -252,7 +252,7 @@ function filter_configure_sync($verbose = false, $load_aliases = true)
|
||||
}
|
||||
}
|
||||
|
||||
if (isset($config['system']['gw_switch_default'])) {
|
||||
if (isset($config['system']['gw_switch_default']) && !product::getInstance()->booting()) {
|
||||
// When gateway switching is enabled, we might consider a different default gateway.
|
||||
// although this isn't really the right spot for the feature (it's a monitoring/routing decision),
|
||||
// we keep it here for now (historical reasons).
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user