mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Revert the check to not add reply-to on block rules it might be needed.
This commit is contained in:
parent
10fd80c213
commit
0da3b8e406
@ -1234,7 +1234,7 @@ function generate_user_filter_rule($rule)
|
||||
$foundlb = 0;
|
||||
|
||||
/* do not process reply-to for gateway'd rules */
|
||||
if ($rule['gateway'] == "" && interface_has_gateway($rule['interface']) && $type == "pass") {
|
||||
if ($rule['gateway'] == "" && interface_has_gateway($rule['interface'])) {
|
||||
$rg = get_interface_gateway($rule['interface']);
|
||||
if (is_ipaddr($rg)) {
|
||||
$aline['reply'] = "reply-to ( {$ifcfg['if']} {$rg} ) ";
|
||||
|
||||
Loading…
Reference in New Issue
Block a user