aboutsummaryrefslogtreecommitdiffstats
path: root/packages/snort/snort_download_rules.php
diff options
context:
space:
mode:
Diffstat (limited to 'packages/snort/snort_download_rules.php')
-rw-r--r--packages/snort/snort_download_rules.php14
1 files changed, 0 insertions, 14 deletions
diff --git a/packages/snort/snort_download_rules.php b/packages/snort/snort_download_rules.php
index 7495a1d9..872bafe9 100644
--- a/packages/snort/snort_download_rules.php
+++ b/packages/snort/snort_download_rules.php
@@ -39,20 +39,6 @@ if(!$start_me_up) {
$pgtitle = "Services: Snort: Update Rules";
-/* check to see if carp settings exist, and get a handle */
-if($config['installedpackages']['carpsettings']) {
- $carp = &$config['installedpackages']['carpsettings']['config'][0];
- $password = $carp['password'];
-}
-
-/* if we are not a CARP cluster master, sleep for a random
- * amount of time allowing for other members to download the configuration
- */
-if(!$password) {
- $sleepietime = rand(5,700);
- sleep($sleepietime);
-}
-
/* define oinkid */
if($config['installedpackages']['snort'])
$oinkid = $config['installedpackages']['snort']['config'][0]['oinkmastercode'];