aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2013-07-16 20:06:48 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2013-09-25 22:35:56 -0400
commit0972be75d0fb1e840e46ad12f86df95622eeeaf2 (patch)
tree7bab0b94536e787d5ad4c28d8163bcbe3ceadac6 /config/snort
parent361efe3e4b2a058e40959acac7ea551eeb3ae58f (diff)
downloadpfsense-packages-0972be75d0fb1e840e46ad12f86df95622eeeaf2.tar.gz
pfsense-packages-0972be75d0fb1e840e46ad12f86df95622eeeaf2.tar.bz2
pfsense-packages-0972be75d0fb1e840e46ad12f86df95622eeeaf2.zip
Fix bug preventing auto-adding entry to an empty Suppress List.
Diffstat (limited to 'config/snort')
-rwxr-xr-xconfig/snort/snort_alerts.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/config/snort/snort_alerts.php b/config/snort/snort_alerts.php
index c296f81b..9082aaeb 100755
--- a/config/snort/snort_alerts.php
+++ b/config/snort/snort_alerts.php
@@ -108,6 +108,10 @@ function snort_add_supplist_entry($suppress) {
$alist['suppresspassthru'] = base64_encode($tmplist);
$a_suppress[$a_id] = $alist;
}
+ else {
+ $alist['suppresspassthru'] = base64_encode($suppress);
+ $a_suppress[$a_id] = $alist;
+ }
}
}
}