diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-10-01 17:26:25 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-10-01 17:26:25 +0000 |
commit | 2cbdf97ea1d5fd6252f2c79fbff9c7ca2200d303 (patch) | |
tree | 1691d4cd21f5190db58bc1054bc6512bec5bd0da /etc | |
parent | 9e21d3187f910ee06d242fc77f3318445a240244 (diff) | |
download | pfsense-2cbdf97ea1d5fd6252f2c79fbff9c7ca2200d303.zip pfsense-2cbdf97ea1d5fd6252f2c79fbff9c7ca2200d303.tar.gz |
Cleanup the status queues so it does not does stupid things.
Apparnetly this needs to be converted to 'ajax' calls as the traffic graph but for now live with this.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index 6988667..24bb640 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1923,7 +1923,7 @@ function WakeOnLan($addr, $mac) * NOTE: this command takes 5 seconds to run */ function gather_altq_queue_stats($dont_return_root_queues) { - $stats = `/sbin/pfctl -vvsq & /bin/sleep 5`; + $stats = exec("/sbin/pfctl -vvsq"); $stats_array = split("\n", $stats); $queue_stats = array(); foreach ($stats_array as $stats_line) { |