diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-12-21 23:48:20 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-12-21 23:48:20 +0000 |
commit | 0da3b8e4067ba840c464dcd0732708f00869c7cd (patch) | |
tree | 5e4427a13484e3c46f797600f7b4072a441ebd43 /etc | |
parent | 10fd80c213d94f99436fd5090f8c7a3fa31e6d73 (diff) | |
download | pfsense-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.inc | 2 |
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} ) "; |