diff options
author | Ermal <eri@pfsense.org> | 2011-11-11 10:40:30 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2011-11-11 10:45:15 +0000 |
commit | ec96e569e89ceb3a311cdb05ef85f34beb1ba89d (patch) | |
tree | 8b8707a254f935a9814a3da8780fbffb51474b72 /config/snort/snort_interfaces_edit.php | |
parent | 216b9bb43657b4c15376603698bcccf34ecb102c (diff) | |
download | pfsense-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_edit.php')
-rw-r--r-- | config/snort/snort_interfaces_edit.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort_interfaces_edit.php b/config/snort/snort_interfaces_edit.php index 77f6cea7..b1a091e7 100644 --- a/config/snort/snort_interfaces_edit.php +++ b/config/snort/snort_interfaces_edit.php @@ -284,7 +284,7 @@ if (isset($_GET['dup'])) write_config(); - sync_snort_package_all($id, $if_real, $snort_uuid); + sync_snort_package_config(); sleep(1); /* if snort.sh crashed this will remove the pid */ @@ -303,7 +303,7 @@ if (isset($_GET['dup'])) if ($_POST["Submit2"]) { - sync_snort_package_all($id, $if_real, $snort_uuid); + sync_snort_package_config(); sleep(1); Running_Start($snort_uuid, $if_real, $id); |