aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-09 13:02:21 +0000
committerErmal <eri@pfsense.org>2012-07-09 14:01:37 +0000
commitc9866f66ae0df46be5d2eed5ef0c17610f487e54 (patch)
tree31c5c35db150d7506b2ec3039c617b6f3955d950
parent5e02cb482cd5bc25eaac17e7af33c4039390ed33 (diff)
downloadpfsense-packages-c9866f66ae0df46be5d2eed5ef0c17610f487e54.tar.gz
pfsense-packages-c9866f66ae0df46be5d2eed5ef0c17610f487e54.tar.bz2
pfsense-packages-c9866f66ae0df46be5d2eed5ef0c17610f487e54.zip
Last splits remaining
-rw-r--r--config/snort/snort_interfaces_edit.php2
-rw-r--r--config/snort/snort_rulesets.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort_interfaces_edit.php b/config/snort/snort_interfaces_edit.php
index 12cb9b00..dd60af68 100644
--- a/config/snort/snort_interfaces_edit.php
+++ b/config/snort/snort_interfaces_edit.php
@@ -425,7 +425,7 @@ function enable_change(enable_change) {
$snortInterfaces = array(); /* -gtm */
$if_list = $config['installedpackages']['snortglobal']['rule'][$id]['interface'];
- $if_array = split(',', $if_list);
+ $if_array = explode(',', $if_list);
if($if_array) {
foreach($if_array as $iface2) {
/* build a list of user specified interfaces -gtm */
diff --git a/config/snort/snort_rulesets.php b/config/snort/snort_rulesets.php
index ee700a88..b08d7e6f 100644
--- a/config/snort/snort_rulesets.php
+++ b/config/snort/snort_rulesets.php
@@ -156,7 +156,7 @@ if ($_POST["Submit"]) {
$enabled_rulesets = $a_nat[$id]['rulesets'];
if($enabled_rulesets)
- $enabled_rulesets_array = split("\|\|", $enabled_rulesets);
+ $enabled_rulesets_array = explode("||", $enabled_rulesets);
include_once("head.inc");