aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-14 16:28:23 +0000
committerErmal <eri@pfsense.org>2012-07-14 16:28:23 +0000
commit2ba2f84667c00a0d46b0afba4b14b853dafe052b (patch)
tree399b528fe573ebe173c8fe943a1510d4541dac93 /config
parent2f96707ab8b5ff76881c7fb057a13840c24b11a9 (diff)
downloadpfsense-packages-2ba2f84667c00a0d46b0afba4b14b853dafe052b.tar.gz
pfsense-packages-2ba2f84667c00a0d46b0afba4b14b853dafe052b.tar.bz2
pfsense-packages-2ba2f84667c00a0d46b0afba4b14b853dafe052b.zip
Avoid issues thay might arise from same name used in lists
Diffstat (limited to 'config')
-rw-r--r--config/snort/snort.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index fe6ad11b..bc7d4b13 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -1043,8 +1043,8 @@ function snort_generate_conf($snortcfg) {
$suppress = snort_find_list($snortcfg['suppresslistname'], 'suppress');
if (!empty($suppress)) {
$suppress_data = str_replace("\r", "", base64_decode($suppress['suppresspassthru']));
- @file_put_contents("{$snortcfgdir}/{$snortcfg['suppresslistname']}", $suppress_data);
- $suppress_file_name = "include {$snortcfgdir}/{$snortcfg['suppresslistname']}";
+ @file_put_contents("{$snortcfgdir}/supp{$snortcfg['suppresslistname']}", $suppress_data);
+ $suppress_file_name = "include {$snortcfgdir}/supp{$snortcfg['suppresslistname']}";
}
/* set the snort performance model */