mirror of
https://github.com/opnsense/core.git
synced 2026-10-12 02:20:36 +00:00
System: Gateways - reverted logic in previous, which should complete https://github.com/opnsense/core/issues/10978
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user