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_interfaces_whitelist_edit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'config/snort/snort_interfaces_whitelist_edit.php') diff --git a/config/snort/snort_interfaces_whitelist_edit.php b/config/snort/snort_interfaces_whitelist_edit.php index 03ba1df8..fe3c54a5 100644 --- a/config/snort/snort_interfaces_whitelist_edit.php +++ b/config/snort/snort_interfaces_whitelist_edit.php @@ -184,7 +184,7 @@ if ($_POST['submit']) { write_config(); /* create whitelist and homenet file then sync files */ - sync_snort_package_empty(); + sync_snort_package_config(); header("Location: /snort/snort_interfaces_whitelist.php"); exit; -- cgit v1.2.3