diff options
author | Ermal <eri@pfsense.org> | 2013-01-30 07:59:40 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2013-01-30 07:59:40 +0000 |
commit | a606981e9262e9f4b568861f1e467e01d14f82e8 (patch) | |
tree | 929a87cfac55a9b5246d258ba2daa8a0c8682726 /usr | |
parent | 28f476fd7c074965382f1d0e8ebb57c9962bcda3 (diff) | |
download | pfsense-a606981e9262e9f4b568861f1e467e01d14f82e8.zip pfsense-a606981e9262e9f4b568861f1e467e01d14f82e8.tar.gz |
Make smal fix
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/status_queues.php | 3 |
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']; |