From c353e1a23143e4c8555d58e53da997f5972ec14e Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Fri, 9 Oct 2026 07:40:13 +0200 Subject: [PATCH] System: Gateways - reverted logic in previous, which should complete https://github.com/opnsense/core/issues/10978 --- src/opnsense/mvc/app/library/OPNsense/Firewall/FilterRule.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/opnsense/mvc/app/library/OPNsense/Firewall/FilterRule.php b/src/opnsense/mvc/app/library/OPNsense/Firewall/FilterRule.php index 08e66a8f63..f406b5c8a3 100644 --- a/src/opnsense/mvc/app/library/OPNsense/Firewall/FilterRule.php +++ b/src/opnsense/mvc/app/library/OPNsense/Firewall/FilterRule.php @@ -218,7 +218,7 @@ class FilterRule extends Rule !empty($rule['gateway']) && !empty($this->gatewayMapping[$rule['gateway']]) && !empty($rule['ipprotocol']) && - empty($this->gatewayMapping[$rule['gateway']]['gateway']) && + !empty($this->gatewayMapping[$rule['gateway']]['gateway']) && $this->gatewayMapping[$rule['gateway']]['proto'] != $rule['ipprotocol'] ) { $rule['disabled'] = true;