aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-08-02 18:31:53 +0000
committerErmal <eri@pfsense.org>2011-08-02 18:32:47 +0000
commit51b746d84139368f096ce761a59c9fe468a9d8a4 (patch)
tree9e6f3d61e61ea552d449c77a7d26ab0373ab06d6
parentbf081ef5f597ddd5a94477592ff9e1956707de3c (diff)
downloadpfsense-packages-51b746d84139368f096ce761a59c9fe468a9d8a4.tar.gz
pfsense-packages-51b746d84139368f096ce761a59c9fe468a9d8a4.tar.bz2
pfsense-packages-51b746d84139368f096ce761a59c9fe468a9d8a4.zip
Sync package config even on save
-rw-r--r--config/snort/snort_interfaces_edit.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/snort/snort_interfaces_edit.php b/config/snort/snort_interfaces_edit.php
index e2b5327a..a001904a 100644
--- a/config/snort/snort_interfaces_edit.php
+++ b/config/snort/snort_interfaces_edit.php
@@ -278,6 +278,9 @@ if (isset($_GET['dup']))
write_config();
+ sync_snort_package_all($id, $if_real, $snort_uuid);
+ sleep(1);
+
/* if snort.sh crashed this will remove the pid */
exec('/bin/rm /tmp/snort.sh.pid');