aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-22 19:18:50 +0000
committerErmal <eri@pfsense.org>2012-07-22 19:18:50 +0000
commit01c805917edcc11e4fc3bf7d46f0bf655f312875 (patch)
treec4f8cf7cef4d453f0195a94931181a986f536c8f /config/snort
parent1fba01c6b7ed109729a8bffa629c8900d6fdd78a (diff)
downloadpfsense-packages-01c805917edcc11e4fc3bf7d46f0bf655f312875.tar.gz
pfsense-packages-01c805917edcc11e4fc3bf7d46f0bf655f312875.tar.bz2
pfsense-packages-01c805917edcc11e4fc3bf7d46f0bf655f312875.zip
Correct function
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);