summaryrefslogtreecommitdiffstats
path: root/usr/local/www/status_queues.php
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-10-01 17:26:25 +0000
committerErmal Luçi <eri@pfsense.org>2008-10-01 17:26:25 +0000
commit2cbdf97ea1d5fd6252f2c79fbff9c7ca2200d303 (patch)
tree1691d4cd21f5190db58bc1054bc6512bec5bd0da /usr/local/www/status_queues.php
parent9e21d3187f910ee06d242fc77f3318445a240244 (diff)
downloadpfsense-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 'usr/local/www/status_queues.php')
-rwxr-xr-xusr/local/www/status_queues.php8
1 files changed, 0 insertions, 8 deletions
diff --git a/usr/local/www/status_queues.php b/usr/local/www/status_queues.php
index 276e1f6..6b2673d 100755
--- a/usr/local/www/status_queues.php
+++ b/usr/local/www/status_queues.php
@@ -40,7 +40,6 @@
require("guiconfig.inc");
if($_GET['reset'] <> "") {
- mwexec("killall pfctl");
Header("Location: status_queues.php");
exit;
}
@@ -143,7 +142,6 @@ While(!Connection_Aborted()) {
$i = 0;
foreach($stats_array as $stats_line) {
if($stat_line_split[2] == "" and $counter > 1) {
- mwexec("/usr/bin/killall pfctl");
exit;
}
@@ -180,13 +178,7 @@ While(!Connection_Aborted()) {
if($counter > 100) {
echo "Redirecting to <a href=\"status_queues.php\">Queue Status</a>.<p>";
echo "<meta http-equiv=\"refresh\" content=\"1;url={$_SERVER['SCRIPT_NAME']}\">";
- mwexec("/usr/bin/killall pfctl");
- mwexec("/usr/bin/killall pfctl");
exit;
}
}
-
-mwexec("/usr/bin/killall pfctl");
-mwexec("/usr/bin/killall pfctl");
-
?>
OpenPOWER on IntegriCloud