summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-01-30 07:59:40 +0000
committerErmal <eri@pfsense.org>2013-01-30 07:59:40 +0000
commita606981e9262e9f4b568861f1e467e01d14f82e8 (patch)
tree929a87cfac55a9b5246d258ba2daa8a0c8682726
parent28f476fd7c074965382f1d0e8ebb57c9962bcda3 (diff)
downloadpfsense-a606981e9262e9f4b568861f1e467e01d14f82e8.zip
pfsense-a606981e9262e9f4b568861f1e467e01d14f82e8.tar.gz
Make smal fix
-rwxr-xr-xusr/local/www/status_queues.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr/local/www/status_queues.php b/usr/local/www/status_queues.php
index 8ca445c..50bdec5 100755
--- a/usr/local/www/status_queues.php
+++ b/usr/local/www/status_queues.php
@@ -85,7 +85,7 @@ if ($_REQUEST['getactivity']) {
/* calculate the bigger amount of packets being moved through all queues. */
foreach($statistics as $q) {
if ($bigger_packets < $q->pps)
- {$bigger_packets = $q->pps;}
+ $bigger_packets = $q->pps;
}
$finscript = "";
foreach($statistics as $q) {
@@ -204,6 +204,7 @@ function processQueues($altqstats, $level){
}
function statsQueues($xml){
global $statistics;
+
$current = new QueueStats();
$child = new QueueStats();
$current->queuename = $xml['name'] . $xml['interface'];
OpenPOWER on IntegriCloud