summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-04-04 20:17:55 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-04-04 20:17:55 +0000
commit1318f78b2a648b63755854603a4e54d7540ab576 (patch)
treebeb5179d10574a1245be994060157b8eb58d5361 /etc
parent3595b631ace0fbf57df393c896448ed494d13db7 (diff)
downloadpfsense-1318f78b2a648b63755854603a4e54d7540ab576.zip
pfsense-1318f78b2a648b63755854603a4e54d7540ab576.tar.gz
Allow multiple stacked rules (allow) to work correctly in the time based new world order. How deep this rabbit hole is yet to be deterimined.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/filter.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 2f6ab59..2de4183 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -1951,6 +1951,9 @@ function generate_user_filter_rule($rule, $ngcounter) {
if($type == "block") {
$ipfw_rule = tdr_create_ipfw_rule($rule, "deny");
tdr_install_rule($ipfw_rule);
+ } else {
+ $ipfw_rule = tdr_create_ipfw_rule($rule, "allow");
+ tdr_install_rule($ipfw_rule);
}
return "$line";
} else {
OpenPOWER on IntegriCloud