From 2db592b1fbda4c0ab5a02aaaf024fd47020e948d Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 4 Feb 2016 07:59:08 +0100 Subject: [PATCH] firewall: always display all known gateways on edit There are a few cases where the gateway code is eligible to drop a gateway on grounds of being disabled, inactive, unconfigured or where the actual interface assigned is disabled. This is undesire because users that configure a gateway won't be able to use it. There are no bad side effects from the former by selecting a whatsoever dysfunctional gateway, because the problem still has to be fixed by the user in the gateway setup itself. Worst of all, removing a disabled but used gateway makes it not show up on edit, effectively wiping its setting on save. This breaks POLA. While there, also enable the null routes for IPv4 and IPv6. PR: https://forum.opnsense.org/index.php?topic=2100 --- src/www/firewall_rules_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/firewall_rules_edit.php b/src/www/firewall_rules_edit.php index 6dddce514..6d9995f09 100644 --- a/src/www/firewall_rules_edit.php +++ b/src/www/firewall_rules_edit.php @@ -1238,7 +1238,7 @@ include("head.inc");