diff options
-rw-r--r-- | config/snort/snort.inc | 3 | ||||
-rw-r--r-- | config/snort/snort_interfaces_edit.php | 2 |
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' ); |