summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-12-21 23:48:20 +0000
committerErmal Luçi <eri@pfsense.org>2008-12-21 23:48:20 +0000
commit0da3b8e4067ba840c464dcd0732708f00869c7cd (patch)
tree5e4427a13484e3c46f797600f7b4072a441ebd43 /etc
parent10fd80c213d94f99436fd5090f8c7a3fa31e6d73 (diff)
downloadpfsense-0da3b8e4067ba840c464dcd0732708f00869c7cd.zip
pfsense-0da3b8e4067ba840c464dcd0732708f00869c7cd.tar.gz
Revert the check to not add reply-to on block rules it might be needed.
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 16684be..e1fc43d 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -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} ) ";
OpenPOWER on IntegriCloud