aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-09-05 20:29:20 +0000
committerErmal <eri@pfsense.org>2011-09-05 20:29:20 +0000
commita5ae8ebed0d63f93bfb426ff11715c78846e6616 (patch)
tree790fb61db5a06bacc328001c89238e31209478c6 /config
parenta2abce189906560e0de865d839083adc8f9bc59f (diff)
downloadpfsense-packages-a5ae8ebed0d63f93bfb426ff11715c78846e6616.tar.gz
pfsense-packages-a5ae8ebed0d63f93bfb426ff11715c78846e6616.tar.bz2
pfsense-packages-a5ae8ebed0d63f93bfb426ff11715c78846e6616.zip
Sleep 4 seconds when toggle the status of the snort (start/stop) so the GUI reports correctly
Diffstat (limited to 'config')
-rw-r--r--config/snort/snort_interfaces.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/snort/snort_interfaces.php b/config/snort/snort_interfaces.php
index 1d91eda8..39f8eddc 100644
--- a/config/snort/snort_interfaces.php
+++ b/config/snort/snort_interfaces.php
@@ -168,6 +168,7 @@ if ($_GET['act'] == 'toggle' && is_numeric($id)) {
header( 'Cache-Control: post-check=0, pre-check=0', false );
header( 'Pragma: no-cache' );
}
+ sleep(4); // So the GUI reports correctly
header("Location: /snort/snort_interfaces.php");
exit;
}