diff options
author | Ermal <eri@pfsense.org> | 2012-07-09 13:02:21 +0000 |
---|---|---|
committer | Ermal <eri@pfsense.org> | 2012-07-09 14:01:37 +0000 |
commit | c9866f66ae0df46be5d2eed5ef0c17610f487e54 (patch) | |
tree | 31c5c35db150d7506b2ec3039c617b6f3955d950 /config/snort | |
parent | 5e02cb482cd5bc25eaac17e7af33c4039390ed33 (diff) | |
download | pfsense-packages-c9866f66ae0df46be5d2eed5ef0c17610f487e54.tar.gz pfsense-packages-c9866f66ae0df46be5d2eed5ef0c17610f487e54.tar.bz2 pfsense-packages-c9866f66ae0df46be5d2eed5ef0c17610f487e54.zip |
Last splits remaining
Diffstat (limited to 'config/snort')
-rw-r--r-- | config/snort/snort_interfaces_edit.php | 2 | ||||
-rw-r--r-- | config/snort/snort_rulesets.php | 2 |
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"); |