mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-14 08:34:39 +00:00
Routing, gateways. log gateways that are not being considered, https://github.com/opnsense/core/issues/2279
This commit is contained in:
parent
dd8d3444f5
commit
b4d8a49678
@ -294,6 +294,9 @@ function filter_configure_sync($verbose = false, $flush_states = false, $load_al
|
||||
// we keep it here for now (historical reasons).
|
||||
$down_gateways = return_down_gateways();
|
||||
foreach (array("inet", "inet6") as $ipprotocol) {
|
||||
if (!empty($down_gateways)) {
|
||||
log_error(sprintf("Ignore down %s gateways : %s", $ipprotocol, implode(",", $down_gateways)));
|
||||
}
|
||||
$default_gw = $fw->getGateways()->getDefaultGW($down_gateways, $ipprotocol);
|
||||
if ($default_gw !== null) {
|
||||
system_default_route(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user