System: Gateways - reverted logic in previous, which should complete https://github.com/opnsense/core/issues/10978

This commit is contained in:
Ad Schellevis
2026-10-09 07:41:19 +02:00
parent 16dfcafee7
commit c353e1a231
@@ -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;