summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
diff options
context:
space:
mode:
authorRenato Botelho <garga@FreeBSD.org>2013-09-12 11:29:21 -0300
committerRenato Botelho <garga@FreeBSD.org>2013-09-12 11:29:21 -0300
commitea51e9f8bfc188f7233ee22e1cc7a58643c4dba5 (patch)
tree98138ef1b4830cf0c534970cde04def3c3eb7cb6 /usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
parent1e9b461124a435fe64c62d065d09b01e1ca368e8 (diff)
downloadpfsense-ea51e9f8bfc188f7233ee22e1cc7a58643c4dba5.zip
pfsense-ea51e9f8bfc188f7233ee22e1cc7a58643c4dba5.tar.gz
Remove call-time pass by reference from traffic shaper files, it should fix #2565
Diffstat (limited to 'usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc')
-rw-r--r--usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc30
1 files changed, 15 insertions, 15 deletions
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 a8e7ec9..3d379b3 100644
--- a/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_lan.inc
@@ -569,7 +569,7 @@ function apply_all_choosen_items() {
$tmpcf['bandwidthtype'] = "%";
}
array_push($tmppath, $tmpcf['name']);
- $qtmp =& $altq->add_queue($q, &$tmpcf, &$tmppath, $input_errors);
+ $qtmp =& $altq->add_queue($q, $tmpcf, $tmppath, $input_errors);
array_pop($tmppath);
//echo "qDefault <br />";
//var_dump($input_errors);
@@ -601,7 +601,7 @@ function apply_all_choosen_items() {
$tmpcf['bandwidthtype'] = $config['ezshaper']['step2']["conndownloadspeed"];
}
array_push($tmppath, "qInternet");
- $qtmp =& $altq->add_queue($q, &$tmpcf, &$tmppath, $input_errors);
+ $qtmp =& $altq->add_queue($q, $tmpcf, $tmppath, $input_errors);
//array_pop($tmppath);
//echo "qInternet <br />";
//var_dump($input_errors);
@@ -634,7 +634,7 @@ function apply_all_choosen_items() {
$tmpcf['bandwidthtype'] = "%";
}
array_push($tmppath, "qACK");
- $qtmp =& $altq->add_queue($q, &$tmpcf, &$tmppath, $input_errors);
+ $qtmp =& $altq->add_queue($q, $tmpcf, $tmppath, $input_errors);
array_pop($tmppath);
//echo "qACK <br />";
//var_dump($input_errors);
@@ -683,7 +683,7 @@ function apply_all_choosen_items() {
}
}
array_push($tmppath, "qP2P");
- $qtmp =& $altq->add_queue($q, &$tmpcf, &$tmppath, $input_errors);
+ $qtmp =& $altq->add_queue($q, $tmpcf, $tmppath, $input_errors);
array_pop($tmppath);
//echo "qP2P <br />";
//var_dump($input_errors);
@@ -723,7 +723,7 @@ function apply_all_choosen_items() {
$tmpcf['bandwidthtype'] = "Kb";
}
array_push($tmppath, "qVoIP");
- $qtmp =& $altq->add_queue($q, &$tmpcf, &$tmppath, $input_errors);
+ $qtmp =& $altq->add_queue($q, $tmpcf, $tmppath, $input_errors);
array_pop($tmppath);
//echo "qVoIP <br />";
//var_dump($input_errors);
@@ -754,7 +754,7 @@ function apply_all_choosen_items() {
$tmpcf['bandwidthtype'] = "%";
}
array_push($tmppath, "qGames");
- $qtmp =& $altq->add_queue($q, &$tmpcf, &$tmppath, $input_errors);
+ $qtmp =& $altq->add_queue($q, $tmpcf, $tmppath, $input_errors);
array_pop($tmppath);
//echo "qGames <br />";
//var_dump($input_errors);
@@ -785,7 +785,7 @@ function apply_all_choosen_items() {
$tmpcf['bandwidthtype'] = "%";
}
array_push($tmppath, "qOthersHigh");
- $qtmp =& $altq->add_queue($q, &$tmpcf, &$tmppath, $input_errors);
+ $qtmp =& $altq->add_queue($q, $tmpcf, $tmppath, $input_errors);
array_pop($tmppath);
//echo "qHigh <br />";
//var_dump($input_errors);
@@ -824,7 +824,7 @@ function apply_all_choosen_items() {
$tmpcf['linkshare'] = "on";
}
array_push($tmppath, "qOthersLow");
- $qtmp =& $altq->add_queue($q, &$tmpcf, &$tmppath, $input_errors);
+ $qtmp =& $altq->add_queue($q, $tmpcf, $tmppath, $input_errors);
array_pop($tmppath);
//echo "qLow <br />";
//var_dump($input_errors);
@@ -959,7 +959,7 @@ function apply_all_choosen_items() {
$tmpcf['bandwidthtype'] = "%";
}
array_push($tmppath, "qACK");
- $qtmp =& $altq->add_queue($q, &$tmpcf, &$tmppath, $input_errors);
+ $qtmp =& $altq->add_queue($q, $tmpcf, $tmppath, $input_errors);
array_pop($tmppath);
//echo "$lkbw $remainbw qACK <br />";
//var_dump($input_errors);
@@ -991,7 +991,7 @@ function apply_all_choosen_items() {
$tmpcf['bandwidthtype'] = "%";
}
array_push($tmppath, $tmpcf['name']);
- $qtmp =& $altq->add_queue($q, &$tmpcf, &$tmppath, $input_errors);
+ $qtmp =& $altq->add_queue($q, $tmpcf, $tmppath, $input_errors);
array_pop($tmppath);
//echo "qDefault <br />";
//var_dump($input_errors);
@@ -1040,7 +1040,7 @@ function apply_all_choosen_items() {
}
}
array_push($tmppath, "qP2P");
- $qtmp =& $altq->add_queue($q, &$tmpcf, &$tmppath, $input_errors);
+ $qtmp =& $altq->add_queue($q, $tmpcf, $tmppath, $input_errors);
array_pop($tmppath);
//echo "qP2P <br />";
//var_dump($input_errors);
@@ -1080,7 +1080,7 @@ function apply_all_choosen_items() {
$tmpcf['bandwidthtype'] = "Kb";
}
array_push($tmppath, "qVoIP");
- $qtmp =& $altq->add_queue($q, &$tmpcf, &$tmppath, $input_errors);
+ $qtmp =& $altq->add_queue($q, $tmpcf, $tmppath, $input_errors);
array_pop($tmppath);
//echo "qVoIP <br />";
//var_dump($input_errors);
@@ -1111,7 +1111,7 @@ function apply_all_choosen_items() {
$tmpcf['bandwidthtype'] = "%";
}
array_push($tmppath, "qGames");
- $qtmp =& $altq->add_queue($q, &$tmpcf, &$tmppath, $input_errors);
+ $qtmp =& $altq->add_queue($q, $tmpcf, $tmppath, $input_errors);
array_pop($tmppath);
//echo "qGames <br />";
//var_dump($input_errors);
@@ -1142,7 +1142,7 @@ function apply_all_choosen_items() {
$tmpcf['bandwidthtype'] = "%";
}
array_push($tmppath, "qOthersHigh");
- $qtmp =& $altq->add_queue($q, &$tmpcf, &$tmppath, $input_errors);
+ $qtmp =& $altq->add_queue($q, $tmpcf, $tmppath, $input_errors);
array_pop($tmppath);
//echo "qHigh <br />";
//var_dump($input_errors);
@@ -1181,7 +1181,7 @@ function apply_all_choosen_items() {
$tmpcf['linkshare'] = "on";
}
array_push($tmppath, "qOthersLow");
- $qtmp =& $altq->add_queue($q, &$tmpcf, &$tmppath, $input_errors);
+ $qtmp =& $altq->add_queue($q, $tmpcf, $tmppath, $input_errors);
array_pop($tmppath);
//echo "qLow <br />";
//var_dump($input_errors);
OpenPOWER on IntegriCloud