summaryrefslogtreecommitdiffstats
path: root/usr/local/www/wizards/traffic_shaper_wizard_multi_all.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_all.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_all.inc')
-rwxr-xr-xusr/local/www/wizards/traffic_shaper_wizard_multi_all.inc32
1 files changed, 16 insertions, 16 deletions
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 f87ba4c..977c2dd 100755
--- a/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
+++ b/usr/local/www/wizards/traffic_shaper_wizard_multi_all.inc
@@ -789,7 +789,7 @@ function apply_all_choosen_items() {
$tmpcf['bandwidthtype'] = $config['ezshaper']['step2']["conn{$i}uploadspeed"];
}
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);
@@ -821,7 +821,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);
@@ -852,7 +852,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);
@@ -901,7 +901,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);
@@ -941,7 +941,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);
@@ -972,7 +972,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);
@@ -1003,7 +1003,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);
@@ -1044,7 +1044,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);
@@ -1183,7 +1183,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);
@@ -1213,7 +1213,7 @@ function apply_all_choosen_items() {
$tmpcf['bandwidthtype'] = "Kb";
}
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);
@@ -1245,7 +1245,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);
@@ -1294,7 +1294,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);
@@ -1334,7 +1334,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);
@@ -1365,7 +1365,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);
@@ -1396,7 +1396,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);
@@ -1437,7 +1437,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