diff options
author | Ermal <eri@pfsense.org> | 2012-07-22 19:18:50 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-07-22 19:18:50 +0000 |
commit | 01c805917edcc11e4fc3bf7d46f0bf655f312875 (patch) | |
tree | c4f8cf7cef4d453f0195a94931181a986f536c8f /config | |
parent | 1fba01c6b7ed109729a8bffa629c8900d6fdd78a (diff) | |
download | pfsense-packages-01c805917edcc11e4fc3bf7d46f0bf655f312875.tar.gz pfsense-packages-01c805917edcc11e4fc3bf7d46f0bf655f312875.tar.bz2 pfsense-packages-01c805917edcc11e4fc3bf7d46f0bf655f312875.zip |
Correct function
Diffstat (limited to 'config')
-rw-r--r-- | config/snort/snort_rulesets.php | 2 |
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); |