aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-08-02 17:00:57 +0000
committerErmal <eri@pfsense.org>2011-08-02 17:00:57 +0000
commit2b2bd92b01bc7e4dd49d7715085d26e8dd786a2d (patch)
tree601eab5331624e06068f8b2b5276da3de82ef61d /config
parent742056652b19a3ffcec5426307023d1b5d487a74 (diff)
downloadpfsense-packages-2b2bd92b01bc7e4dd49d7715085d26e8dd786a2d.tar.gz
pfsense-packages-2b2bd92b01bc7e4dd49d7715085d26e8dd786a2d.tar.bz2
pfsense-packages-2b2bd92b01bc7e4dd49d7715085d26e8dd786a2d.zip
Give time to GUI to get correct fields
Diffstat (limited to 'config')
-rw-r--r--config/snort/snort.inc3
-rw-r--r--config/snort/snort_interfaces_edit.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index 873c5f79..7408557b 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -317,10 +317,10 @@ function Running_Stop($snort_uuid, $if_real, $id) {
/* Log Iface stop */
exec("/usr/bin/logger -p daemon.info -i -t SnortStartup 'Interface Rule STOP for {$snort_uuid}_{$if_real}...'");
+ sleep(2); // Give time so GUI displays correctly
}
}
-
function Running_Start($snort_uuid, $if_real, $id) {
global $config;
@@ -340,6 +340,7 @@ function Running_Start($snort_uuid, $if_real, $id) {
/* Log Iface stop */
exec("/usr/bin/logger -p daemon.info -i -t SnortStartup 'Interface Rule START for {$id}_{$snort_uuid}_{$if_real}...'");
+ sleep(2); // Give time so GUI displays correctly
}
/* get the real iface name of wan */
diff --git a/config/snort/snort_interfaces_edit.php b/config/snort/snort_interfaces_edit.php
index 746145e2..e2b5327a 100644
--- a/config/snort/snort_interfaces_edit.php
+++ b/config/snort/snort_interfaces_edit.php
@@ -312,7 +312,7 @@ if (isset($_GET['dup']))
{
Running_Stop($snort_uuid, $if_real, $id);
-
+
header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' );
header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' );
header( 'Cache-Control: no-store, no-cache, must-revalidate' );