summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-04-24 15:02:01 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-04-24 15:02:01 -0300
commite4d3e327aba4479dccf848df902928ebc5c2273f (patch)
tree3fc8872178505d69ae1281322c00ac526c1c64ac
parent6c4004256f56d109091aec6022bd97d28aec28ee (diff)
downloadpfsense-e4d3e327aba4479dccf848df902928ebc5c2273f.zip
pfsense-e4d3e327aba4479dccf848df902928ebc5c2273f.tar.gz
Avoid set 2 sources for penalty rules on shapper wizard. Fixes #2959
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard.inc1
-rwxr-xr-xusr/local/www/wizards/traffic_shaper_wizard_dedicated.inc1
-rwxr-xr-xusr/local/www/wizards/traffic_shaper_wizard_multi_all.inc1
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc1
4 files changed, 0 insertions, 4 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard.inc b/usr/local/www/wizards/traffic_shaper_wizard.inc
index d13a5a7..4321ff7 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard.inc
@@ -1342,7 +1342,6 @@ function apply_all_choosen_items() {
$rule['type'] = "match";
$rule['interface'] = $interfacelist;
$rule['descr'] = gettext("Penalty Box");
- $rule['source']['any'] = TRUE;
$rule['defaultqueue'] = "qOthersLow";
$rule['source']['address'] = $config['ezshaper']['step4']['address'];
$rule['destination']['any'] = TRUE;
diff --git a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc
index 2cc43e2..0caf428 100755
--- a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc
@@ -1406,7 +1406,6 @@ function apply_all_choosen_items() {
$rule['type'] = "match";
$rule['interface'] = $interfacelist;
$rule['descr'] = gettext("Penalty Box");
- $rule['source']['any'] = TRUE;
$rule['defaultqueue'] = "qOthersLow";
$rule['source']['address'] = $config['ezshaper']['step4']['address'];
$rule['destination']['any'] = TRUE;
diff --git a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
index 707463d..472a8e1 100755
--- a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
@@ -1462,7 +1462,6 @@ function apply_all_choosen_items() {
$rule['type'] = "match";
$rule['interface'] = $interfacelist;
$rule['descr'] = gettext("Penalty Box");
- $rule['source']['any'] = TRUE;
$rule['defaultqueue'] = "qOthersLow";
$rule['source']['address'] = $config['ezshaper']['step4']['address'];
$rule['destination']['any'] = TRUE;
diff --git a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
index 95a4d94..c5ceefc 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
@@ -1203,7 +1203,6 @@ function apply_all_choosen_items() {
$rule['type'] = "match";
$rule['interface'] = "wan";
$rule['descr'] = gettext("Penalty Box");
- $rule['source']['any'] = TRUE;
$rule['defaultqueue'] = "qOthersLow";
$rule['source']['address'] = $config['ezshaper']['step4']['address'];
$rule['destination']['any'] = TRUE;
OpenPOWER on IntegriCloud