aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-01-26 23:39:58 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-01-26 23:39:58 +0000
commit3c98b4673e5faf989bbfd11e1429be6251d0f159 (patch)
treec9d60ce05862050bcf32fae6ee2c06424ebb8591
parentdbebde117bb23ebc8ec48fcc4c1902a94c15f92e (diff)
downloadpfsense-packages-3c98b4673e5faf989bbfd11e1429be6251d0f159.tar.gz
pfsense-packages-3c98b4673e5faf989bbfd11e1429be6251d0f159.tar.bz2
pfsense-packages-3c98b4673e5faf989bbfd11e1429be6251d0f159.zip
Trim home net
Ticket #1232
-rw-r--r--packages/snort/snort.inc2
1 files changed, 1 insertions, 1 deletions
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}]";