From fdce6a9c91d2a56637bfda4fd9360fce9bd6932e Mon Sep 17 00:00:00 2001 From: Ermal Date: Wed, 3 Aug 2011 21:05:04 +0000 Subject: Correct suppress file name to prevent issues --- config/snort/snort.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 52b61ade..4647fc34 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -1696,7 +1696,7 @@ function generate_snort_conf($id, $if_real, $snort_uuid) $threshold_file_name = ""; if ($snortcfg['suppresslistname'] != 'default') { if (file_exists("/usr/local/etc/snort/suppress/{$snortcfg['suppresslistname']}")) - $threshold_file_name = "include /usr/local/etc/snort/suppress/{$threshold_name}"; + $threshold_file_name = "include /usr/local/etc/snort/suppress/{$snortcfg['suppresslistname']}"; } /* define servers and ports snortdefservers */ -- cgit v1.2.3