diff options
author | Renato Botelho <garga@FreeBSD.org> | 2013-09-12 11:29:21 -0300 |
---|---|---|
committer | Renato Botelho <garga@FreeBSD.org> | 2013-09-12 11:29:21 -0300 |
commit | ea51e9f8bfc188f7233ee22e1cc7a58643c4dba5 (patch) | |
tree | 98138ef1b4830cf0c534970cde04def3c3eb7cb6 /usr/local/www/firewall_shaper_vinterface.php | |
parent | 1e9b461124a435fe64c62d065d09b01e1ca368e8 (diff) | |
download | pfsense-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/firewall_shaper_vinterface.php')
-rw-r--r-- | usr/local/www/firewall_shaper_vinterface.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/firewall_shaper_vinterface.php b/usr/local/www/firewall_shaper_vinterface.php index 7757505..d2d9037 100644 --- a/usr/local/www/firewall_shaper_vinterface.php +++ b/usr/local/www/firewall_shaper_vinterface.php @@ -207,13 +207,13 @@ if ($_GET) { $dnpipe =& new dnpipe_class(); $dnpipe->ReadConfig($_POST); - $dnpipe->validate_input($_POST, &$input_errors); + $dnpipe->validate_input($_POST, $input_errors); if (!$input_errors) { $number = dnpipe_find_nextnumber(); $dnpipe->SetNumber($number); unset($tmppath); $tmppath[] = $dnpipe->GetQname(); - $dnpipe->SetLink(&$tmppath); + $dnpipe->SetLink($tmppath); $dnpipe->wconfig(); if (write_config()) mark_subsystem_dirty('shaper'); @@ -231,7 +231,7 @@ if ($_GET) { else if ($dnpipe) { $tmppath =& $dnpipe->GetLink(); array_push($tmppath, $qname); - $tmp =& $dnpipe->add_queue($pipe, $_POST, $tmppath, &$input_errors); + $tmp =& $dnpipe->add_queue($pipe, $_POST, $tmppath, $input_errors); if (!$input_errors) { array_pop($tmppath); $tmp->wconfig(); @@ -272,7 +272,7 @@ if ($_GET) { } } else if ($queue) { - $queue->validate_input($_POST, &$input_errors); + $queue->validate_input($_POST, $input_errors); if (!$input_errors) { $queue->update_dn_data($_POST); $queue->wconfig(); |