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;