aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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");