diff options
Diffstat (limited to 'packages/snort/snort.inc')
-rw-r--r-- | packages/snort/snort.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc index e57e8df6..f8060f95 100644 --- a/packages/snort/snort.inc +++ b/packages/snort/snort.inc @@ -160,7 +160,7 @@ function generate_snort_conf() { fclose($whitelist); /* generate rule sections to load */ - $enabled_rulesets = $config['installedpackages']['snort']['config'][0]['rulesets']; + $enabled_rulesets = $config['installedpackages']['snort']['rulesets']; if($enabled_rulesets) { $selected_rules_sections = ""; $enabled_rulesets_array = split("\|\|", $enabled_rulesets); |