summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2015-11-24 19:04:11 -0600
committerChris Buechler <cmb@pfsense.org>2015-11-24 19:04:11 -0600
commit0697ca74b89b2062b9709d0de00f405ce7dbcadb (patch)
treeaed67c1a94fb99715d965ac650d118d44eb9c392 /src
parent1e9e1ead59709e28a1254f7dde6eccebd6bbbf5e (diff)
parent87edd7568611be92087ed9532728427d56e24c59 (diff)
downloadpfsense-0697ca74b89b2062b9709d0de00f405ce7dbcadb.zip
pfsense-0697ca74b89b2062b9709d0de00f405ce7dbcadb.tar.gz
Merge pull request #2104 from phil-davis/patch-1
Diffstat (limited to 'src')
-rw-r--r--src/etc/inc/filter.inc6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/etc/inc/filter.inc b/src/etc/inc/filter.inc
index b505825..f236289 100644
--- a/src/etc/inc/filter.inc
+++ b/src/etc/inc/filter.inc
@@ -2910,10 +2910,6 @@ function filter_generate_user_rule($rule) {
$aline['flags'] .= "/" . $rule['max-src-conn-rates'] . ", overload <virusprot> flush global ";
}
- if (!empty($aline['divert'])) {
- $aline['flags'] .= "max-packets 8 ";
- }
-
$aline['flags'] .= " ) ";
}
}
@@ -2984,7 +2980,7 @@ function filter_generate_user_rule($rule) {
/* piece together the actual user rule */
$line .= $aline['type'] . $aline['direction'] . $aline['log'] . $aline['quick'] . $aline['interface'] .
$aline['reply'] . $aline['route'] . $aline['ipprotocol'] . $aline['prot'] . $aline['src'] . $aline['os'] . $aline['dst'] .
- $aline['divert'] . $aline['icmp-type'] . $aline['icmp6-type'] . $aline['tag'] . $aline['tagged'] . $aline['dscp'] . $aline['tracker'] .
+ $aline['icmp-type'] . $aline['icmp6-type'] . $aline['tag'] . $aline['tagged'] . $aline['dscp'] . $aline['tracker'] .
$aline['vlanprio'] . $aline['vlanprioset'] . $aline['allowopts'] . $aline['flags'] . $aline['queue'] . $aline['dnpipe'] . $aline['schedlabel'];
unset($aline);
OpenPOWER on IntegriCloud