aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_rules_edit.php
diff options
context:
space:
mode:
authorChris Buechler <cmb@pfsense.org>2013-04-26 22:58:01 -0700
committerChris Buechler <cmb@pfsense.org>2013-04-26 22:58:01 -0700
commit924b260a5ac1a47e24c9097a22b30fd096a3550b (patch)
treeb981b7454131ec5c00079ec93fb380042151032d /config/snort/snort_rules_edit.php
parent6e7de970f07ae1d4457227bd2fc3f8d9b97c7f5d (diff)
parenta368b7046816d474ed50187ad2335da47be34272 (diff)
downloadpfsense-packages-924b260a5ac1a47e24c9097a22b30fd096a3550b.tar.gz
pfsense-packages-924b260a5ac1a47e24c9097a22b30fd096a3550b.tar.bz2
pfsense-packages-924b260a5ac1a47e24c9097a22b30fd096a3550b.zip
Merge pull request #434 from bmeeks8/master
Snort Package 2.5.7 -- Two minor bug fixes (no need to bump version)
Diffstat (limited to 'config/snort/snort_rules_edit.php')
-rwxr-xr-xconfig/snort/snort_rules_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort_rules_edit.php b/config/snort/snort_rules_edit.php
index 7005d1f8..a1f45c07 100755
--- a/config/snort/snort_rules_edit.php
+++ b/config/snort/snort_rules_edit.php
@@ -72,7 +72,7 @@ if (substr($file, 0, 10) == "IPS Policy") {
$rules_map = snort_load_vrt_policy($a_rule[$id]['ips_policy']);
if (isset($_GET['ids'])) {
$contents = $rules_map[$_GET['gid']][trim($_GET['ids'])]['rule'];
- $wrap_flag = "on";
+ $wrap_flag = "soft";
}
else {
$contents = "# Snort IPS Policy - " . ucfirst($a_rule[$id]['ips_policy']) . "\n\n";
@@ -89,7 +89,7 @@ if (substr($file, 0, 10) == "IPS Policy") {
elseif (isset($_GET['ids'])) {
$rules_map = snort_load_rules_map("{$snortdir}/rules/{$file}");
$contents = $rules_map[$_GET['gid']][trim($_GET['ids'])]['rule'];
- $wrap_flag = "on";
+ $wrap_flag = "soft";
}
// Is it our special flowbit rules file?
elseif ($file == $flowbit_rules_file)