summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-07-28 08:00:07 +0000
committerErmal <eri@pfsense.org>2011-07-28 08:00:07 +0000
commit800d973df26edfc63d6fdae629bb7918634f6147 (patch)
tree1a42e92c02ece5702675ca90fe94f1e36ddedff2 /etc
parentff49f684a17b2ddea620c602e4739464d8a6db6f (diff)
downloadpfsense-800d973df26edfc63d6fdae629bb7918634f6147.zip
pfsense-800d973df26edfc63d6fdae629bb7918634f6147.tar.gz
Do not add any reply-to information to rules with action match. Reported-by: http://forum.pfsense.org/index.php/topic,39247.msg202728.html#msg202728
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 90a0ade..6ef7040 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1830,7 +1830,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($config['system']['disablereplyto'])) {
+ if($rule['gateway'] == "" && $aline['direction'] <> "" && interface_has_gateway($rule['interface']) && !isset($config['system']['disablereplyto']) && $type != "match") {
$rg = get_interface_gateway($rule['interface']);
if(is_ipaddr($rg)) {
$aline['reply'] = "reply-to ( {$ifcfg['if']} {$rg} ) ";
OpenPOWER on IntegriCloud