From 3c98b4673e5faf989bbfd11e1429be6251d0f159 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Fri, 26 Jan 2007 23:39:58 +0000 Subject: Trim home net Ticket #1232 --- packages/snort/snort.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages') diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc index 3549a12c..3d5581bc 100644 --- a/packages/snort/snort.inc +++ b/packages/snort/snort.inc @@ -256,7 +256,7 @@ function generate_snort_conf() { $whitelist_home_net = str_replace(" ", "\n", $home_net); /* make $home_net presentable to snort */ - trim($home_net); + $home_net = trim($home_net); $home_net = str_replace(" ", ",", $home_net); $home_net = "[{$home_net}]"; -- cgit v1.2.3