From 4721bdd6ab361d13eda660972454c16f5c0fd154 Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 13 Jun 2012 07:07:23 +0000 Subject: Revert "snort-dev2, fixed interface remove dir issue when iface rule stop, changed iface rule log dir" This reverts commit ede8a5141d24d7a7f72071811bd78de099dc681f. --- config/snort-dev2/snort_interfaces.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config/snort-dev2/snort_interfaces.php') diff --git a/config/snort-dev2/snort_interfaces.php b/config/snort-dev2/snort_interfaces.php index 966c115d..86a9aff6 100644 --- a/config/snort-dev2/snort_interfaces.php +++ b/config/snort-dev2/snort_interfaces.php @@ -97,12 +97,12 @@ if ($_GET['act'] == 'toggle' && is_numeric($id)) { /* Log Iface stop */ exec("/usr/bin/logger -p daemon.info -i -t SnortStartup 'Toggle for {$snort_uuid}_{$if_real}...'"); - // sync_snort_package_config(); + sync_snort_package_config(); $tester2 = Running_Ck($snort_uuid, $if_real, $id); if ($tester2 == 'yes') { - Running_Stop($snort_uuid, $if_real, $id); // causeing snort to delete the ifcae rule dir + Running_Stop($snort_uuid, $if_real, $id); 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