aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev2/snort_interfaces.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-06-13 07:07:23 +0000
committerErmal <eri@pfsense.org>2012-06-13 07:07:23 +0000
commit4721bdd6ab361d13eda660972454c16f5c0fd154 (patch)
tree660309b8cc2036b90df814b13a9860ac93f322ed /config/snort-dev2/snort_interfaces.php
parentede8a5141d24d7a7f72071811bd78de099dc681f (diff)
downloadpfsense-packages-4721bdd6ab361d13eda660972454c16f5c0fd154.tar.gz
pfsense-packages-4721bdd6ab361d13eda660972454c16f5c0fd154.tar.bz2
pfsense-packages-4721bdd6ab361d13eda660972454c16f5c0fd154.zip
Revert "snort-dev2, fixed interface remove dir issue when iface rule stop, changed iface rule log dir"
This reverts commit ede8a5141d24d7a7f72071811bd78de099dc681f.
Diffstat (limited to 'config/snort-dev2/snort_interfaces.php')
-rw-r--r--config/snort-dev2/snort_interfaces.php4
1 files changed, 2 insertions, 2 deletions
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' );