aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort_interfaces_suppress_edit.php
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-14 06:23:20 +0000
committerErmal <eri@pfsense.org>2012-07-14 06:23:20 +0000
commit9a4da8fc0de9f80f4a034d03506e8bfe9adceaaa (patch)
tree82699dc6a11ca1f12a838327560edabe463d3a0a /config/snort/snort_interfaces_suppress_edit.php
parente429e827397d76777de7e76c2ef9d95d53cf624b (diff)
downloadpfsense-packages-9a4da8fc0de9f80f4a034d03506e8bfe9adceaaa.tar.gz
pfsense-packages-9a4da8fc0de9f80f4a034d03506e8bfe9adceaaa.tar.bz2
pfsense-packages-9a4da8fc0de9f80f4a034d03506e8bfe9adceaaa.zip
Switch to output alert_csv to fix all issues with snort alerts/blocked descr
Diffstat (limited to 'config/snort/snort_interfaces_suppress_edit.php')
-rw-r--r--config/snort/snort_interfaces_suppress_edit.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort_interfaces_suppress_edit.php b/config/snort/snort_interfaces_suppress_edit.php
index 8a7e29ef..7dfe5d74 100644
--- a/config/snort/snort_interfaces_suppress_edit.php
+++ b/config/snort/snort_interfaces_suppress_edit.php
@@ -105,7 +105,7 @@ if ($_POST['submit']) {
if (!$input_errors) {
$s_list = array();
$s_list['name'] = $_POST['name'];
- $s_list['uuid'] = $suppress_uuid;
+ $s_list['uuid'] = uniqid();
$s_list['descr'] = mb_convert_encoding($_POST['descr'],"HTML-ENTITIES","auto");
if ($_POST['suppresspassthru'])
$s_list['suppresspassthru'] = base64_encode($_POST['suppresspassthru']);
@@ -123,7 +123,7 @@ if ($_POST['submit']) {
}
}
-$pgtitle = "Services: Snort: Suppression: Edit $suppress_uuid";
+$pgtitle = "Services: Snort: Suppression: Edit";
include_once("head.inc");
?>