summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-04-01 16:35:36 +0000
committerErmal Luçi <eri@pfsense.org>2008-04-01 16:35:36 +0000
commit3a8f631196d6dc94eebfa55460713cea1b26ba04 (patch)
tree2d589c7fc2dc24f3055af97d41e5ef16757f6f55 /usr/local/www/wizards
parentd04d8d428065d52506faa1c3f449ef951b0a0bde (diff)
downloadpfsense-3a8f631196d6dc94eebfa55460713cea1b26ba04.zip
pfsense-3a8f631196d6dc94eebfa55460713cea1b26ba04.tar.gz
Fixup wizards queue generation.
Diffstat (limited to 'usr/local/www/wizards')
-rwxr-xr-xusr/local/www/wizards/traffic_shaper_wizard_dedicated.inc2
-rwxr-xr-xusr/local/www/wizards/traffic_shaper_wizard_multi_all.inc2
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc2
3 files changed, 3 insertions, 3 deletions
diff --git a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc
index 4ee8b4b..8aedef9 100755
--- a/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard_dedicated.inc
@@ -915,12 +915,12 @@ $othersplist = array();
/* restart the cached config */
unset($altq_list_queues);
$altq_list_queues = array();
- $tmppath = array();
$steps = intval($config['ezshaper']['step1']['numberofconnections']);
for ($i = 0; $i < $steps; $i++) {
+ $tmppath = array();
$altq =& new altq_root_queue();
$altq->SetInterface($config['ezshaper']['step2']["conn{$i}interface"]);
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 2c8944f..921a205 100755
--- a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
@@ -960,12 +960,12 @@ $othersplist = array();
/* restart the cached config */
unset($altq_list_queues);
$altq_list_queues = array();
- $tmppath = array();
$steps = intval($config['ezshaper']['step1']['numberofconnections']);
for ($i = 0; $i < $steps; $i++) {
+ $tmppath = array();
$altq =& new altq_root_queue();
$altq->SetInterface($config['ezshaper']['step2']["conn{$i}interface"]);
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 088ea8f..7667b41 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
@@ -743,11 +743,11 @@ $othersplist = array();
/* restart the cached config */
unset($altq_list_queues);
$altq_list_queues = array();
- $tmppath = array();
$steps = floatval($config['ezshaper']['step1']['numberofconnections']);
for ($i = 0; $i < $steps; $i++) {
+ $tmppath = array();
$altq =& new altq_root_queue();
$altq->SetInterface($config['ezshaper']['step2']["conn{$i}interface"]);
OpenPOWER on IntegriCloud