From 51b746d84139368f096ce761a59c9fe468a9d8a4 Mon Sep 17 00:00:00 2001 From: Ermal Date: Tue, 2 Aug 2011 18:31:53 +0000 Subject: Sync package config even on save --- config/snort/snort_interfaces_edit.php | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config') 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'); -- cgit v1.2.3