summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorlgcosta <lgcosta@pfsense.org>2011-02-22 10:30:37 -0300
committerlgcosta <lgcosta@pfsense.org>2011-02-22 10:30:37 -0300
commitf1beeba5d18d28af460fb56458539799511223b1 (patch)
tree03e04a034d7c49bdeb93e689f72e2b424b39a6ff /etc
parent196440c8b881a650eedfbb526cfda41cbecd22c4 (diff)
downloadpfsense-f1beeba5d18d28af460fb56458539799511223b1.zip
pfsense-f1beeba5d18d28af460fb56458539799511223b1.tar.gz
Add Global reply-to disable checkbox, resolves the issue #1137
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 52bbe31..5f721ff 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1740,7 +1740,7 @@ function filter_generate_user_rule($rule) {
update_filter_reload_status("Setting up pass/block rules {$rule['descr']}");
/* do not process reply-to for gateway'd rules */
- if($rule['gateway'] == "" && $aline['direction'] <> "" && interface_has_gateway($rule['interface']) && !isset($rule['disablereplyto'])) {
+ if($rule['gateway'] == "" && $aline['direction'] <> "" && interface_has_gateway($rule['interface']) && !isset($config['system']['disablereplyto'])) {
$rg = get_interface_gateway($rule['interface']);
if(is_ipaddr($rg)) {
$aline['reply'] = "reply-to ( {$ifcfg['if']} {$rg} ) ";
OpenPOWER on IntegriCloud