From b4d8a49678ef439d6d45602cb0423ea2a2f38812 Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Mon, 15 Apr 2019 12:51:23 +0200 Subject: [PATCH] Routing, gateways. log gateways that are not being considered, https://github.com/opnsense/core/issues/2279 --- src/etc/inc/filter.inc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/etc/inc/filter.inc b/src/etc/inc/filter.inc index 01475b5e8..53b98cd3c 100644 --- a/src/etc/inc/filter.inc +++ b/src/etc/inc/filter.inc @@ -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(