mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
firewall: wrong reply"-to" for previous
This commit is contained in:
parent
eebc1674a2
commit
fe52702a8b
@ -256,7 +256,7 @@ abstract class Rule
|
||||
} elseif (!empty($interfaces[$network_name]['if'])) {
|
||||
$rule[$target] = "({$interfaces[$network_name]['if']}:network)";
|
||||
if ($rule['ipprotocol'] == 'inet6' && $rule['interface'] == $network_name) {
|
||||
if ($this instanceof FilterRule && empty($rule['gateway']) && empty($rule['reply'])) {
|
||||
if ($this instanceof FilterRule && empty($rule['gateway']) && empty($rule['reply-to'])) {
|
||||
/* historically pf(4) excludes link-local on :network to avoid anti-spoof overlap */
|
||||
$rule[$target] .= ',fe80::/10';
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user