From ec96e569e89ceb3a311cdb05ef85f34beb1ba89d Mon Sep 17 00:00:00 2001 From: Ermal Date: Fri, 11 Nov 2011 10:40:30 +0000 Subject: Remove the mess of config syncing in snort and just provide one function for all. This allows snort to properly start at bootup and restart on ip change. --- config/snort/snort_rulesets.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/snort/snort_rulesets.php') diff --git a/config/snort/snort_rulesets.php b/config/snort/snort_rulesets.php index e0bdd882..9e3853f5 100644 --- a/config/snort/snort_rulesets.php +++ b/config/snort/snort_rulesets.php @@ -149,7 +149,7 @@ if ($_POST["Submit"]) { $a_nat[$id]['rulesets'] = $enabled_items; write_config(); - sync_snort_package_all($id, $if_real, $iface_uuid); + sync_snort_package_config(); header( 'Expires: Sat, 26 Jul 1997 05:00:00 GMT' ); header( 'Last-Modified: ' . gmdate( 'D, d M Y H:i:s' ) . ' GMT' ); -- cgit v1.2.3