aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
Diffstat (limited to 'config/snort')
-rw-r--r--config/snort/snort_rulesets.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort_rulesets.php b/config/snort/snort_rulesets.php
index 9af5354d..db887a97 100644
--- a/config/snort/snort_rulesets.php
+++ b/config/snort/snort_rulesets.php
@@ -104,7 +104,7 @@ if ($_POST["Submit"]) {
$oenabled = explode("||", $a_nat[$id]['rulesets']);
$nenabled = explode("||", $enabled_items);
- $tormv = arrad_diff($oenabled, $nenabled);
+ $tormv = array_diff($oenabled, $nenabled);
snort_remove_rules($tormv, $snortdir, $snort_uuid, $if_real);
$a_nat[$id]['rulesets'] = $enabled_items;
snort_copy_rules(explode("||", $enabled_items), $snortdir, $snort_uuid, $if_real);