aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_interfaces.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-11-11 10:40:30 +0000
committerErmal <eri@pfsense.org>2011-11-11 10:45:15 +0000
commitec96e569e89ceb3a311cdb05ef85f34beb1ba89d (patch)
tree8b8707a254f935a9814a3da8780fbffb51474b72 /config/snort/snort_interfaces.php
parent216b9bb43657b4c15376603698bcccf34ecb102c (diff)
downloadpfsense-packages-ec96e569e89ceb3a311cdb05ef85f34beb1ba89d.tar.gz
pfsense-packages-ec96e569e89ceb3a311cdb05ef85f34beb1ba89d.tar.bz2
pfsense-packages-ec96e569e89ceb3a311cdb05ef85f34beb1ba89d.zip
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.
Diffstat (limited to 'config/snort/snort_interfaces.php')
-rw-r--r--config/snort/snort_interfaces.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort_interfaces.php b/config/snort/snort_interfaces.php
index b00b107e..9174c24f 100644
--- a/config/snort/snort_interfaces.php
+++ b/config/snort/snort_interfaces.php
@@ -75,7 +75,7 @@ if (isset($_POST['del_x'])) {
conf_mount_ro();
}
- sync_snort_package_empty();
+ 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' );
@@ -98,7 +98,7 @@ 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_all($id, $if_real, $snort_uuid);
+ sync_snort_package_config();
$tester2 = Running_Ck($snort_uuid, $if_real, $id);