diff options
author | Ermal <eri@pfsense.org> | 2011-08-02 17:00:57 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-08-02 17:00:57 +0000 |
commit | 2b2bd92b01bc7e4dd49d7715085d26e8dd786a2d (patch) | |
tree | 601eab5331624e06068f8b2b5276da3de82ef61d /config/snort/snort.inc | |
parent | 742056652b19a3ffcec5426307023d1b5d487a74 (diff) | |
download | pfsense-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/snort/snort.inc')
-rw-r--r-- | config/snort/snort.inc | 3 |
1 files changed, 2 insertions, 1 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 */ |