From 974a35da68f3c9c8e64d64b3c3cc7e58eeb28513 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 3 Oct 2006 15:58:09 +0000 Subject: Woops, thats a variable, so it requires a $ --- packages/snort/snort.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc index 08ae54bc..284f7df4 100644 --- a/packages/snort/snort.inc +++ b/packages/snort/snort.inc @@ -188,7 +188,7 @@ function generate_snort_conf() { /* foreach through whitelist, writing out to file */ $whitelist_split = split("\n", $whitelist_home_net); - foreach(whitelist_split as $wl) + foreach($whitelist_split as $wl) if(trim($wl)) fwrite($whitelist, trim($wl) . "\n"); -- cgit v1.2.3