diff options
author | jim-p <jimp@pfsense.org> | 2012-01-10 09:03:52 -0500 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2012-01-10 09:04:23 -0500 |
commit | 12c7b5778418734a7ebbd816bb75522ca17a2a54 (patch) | |
tree | b13d60a84a7c7b9d9d057de76c9c969839ed92fd | |
parent | 932052bd5c02e6af0ed1f21287133d2bb118be05 (diff) | |
download | pfsense-12c7b5778418734a7ebbd816bb75522ca17a2a54.zip pfsense-12c7b5778418734a7ebbd816bb75522ca17a2a54.tar.gz |
Respect the value of the per-rule "disable reply-to" checkbox.
-rw-r--r-- | etc/inc/filter.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 11204bc..dc635cd 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1945,7 +1945,7 @@ function filter_generate_user_rule($rule) { update_filter_reload_status(sprintf(gettext("Setting up pass/block rules %s"), $rule['descr'])); /* do not process reply-to for gateway'd rules */ - if($rule['gateway'] == "" && $aline['direction'] <> "" && interface_has_gateway($rule['interface']) && !isset($config['system']['disablereplyto']) && $type != "match") { + if($rule['gateway'] == "" && $aline['direction'] <> "" && interface_has_gateway($rule['interface']) && !isset($config['system']['disablereplyto']) && !isset($rule['disablereplyto']) && $type != "match") { if($rule['ipprotocol'] == "inet6") { $rg = get_interface_gateway_v6($rule['interface']); if(is_ipaddrv6($rg)) { |