diff options
author | Ermal <eri@pfsense.org> | 2011-03-24 17:34:26 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-03-24 17:34:26 +0000 |
commit | c8703797e5c24e6619ad14819fc62b3cb8a6ae3d (patch) | |
tree | b82993e1e5fc0465c6035a207e1ecb51280f6e15 /etc | |
parent | 2279a5878279289f4d120e49e4b96a754f0a03bb (diff) | |
download | pfsense-c8703797e5c24e6619ad14819fc62b3cb8a6ae3d.zip pfsense-c8703797e5c24e6619ad14819fc62b3cb8a6ae3d.tar.gz |
Do not write ont rules anymore max-packets. This apparently was done by me in a previous commit, it helps with Ticket #636.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/filter.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc index 41e3708..18f2d66 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1881,7 +1881,7 @@ function filter_generate_user_rule($rule) { } else $aline['flags'] .= "keep state "; - if($noadvoptions == false || $l7_present) + if($noadvoptions == false) if( (isset($rule['source-track']) and $rule['source-track'] <> "") or (isset($rule['max']) and $rule['max'] <> "") or (isset($rule['max-src-nodes']) and $rule['max-src-nodes'] <> "") or @@ -1890,7 +1890,7 @@ function filter_generate_user_rule($rule) { (isset($rule['max-src-conn-rates']) and $rule['max-src-conn-rates'] <> "") or (isset($rule['max-src-states']) and $rule['max-src-states'] <> "") or (isset($rule['statetimeout']) and $rule['statetimeout'] <> "") or - isset($rule['sloppy']) or $l7_present) { + isset($rule['sloppy'])) { $aline['flags'] .= "( "; if (isset($rule['sloppy'])) $aline['flags'] .= "sloppy "; |