diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-01-26 23:39:58 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-01-26 23:39:58 +0000 |
commit | 3c98b4673e5faf989bbfd11e1429be6251d0f159 (patch) | |
tree | c9d60ce05862050bcf32fae6ee2c06424ebb8591 /packages/snort | |
parent | dbebde117bb23ebc8ec48fcc4c1902a94c15f92e (diff) | |
download | pfsense-packages-3c98b4673e5faf989bbfd11e1429be6251d0f159.tar.gz pfsense-packages-3c98b4673e5faf989bbfd11e1429be6251d0f159.tar.bz2 pfsense-packages-3c98b4673e5faf989bbfd11e1429be6251d0f159.zip |
Trim home net
Ticket #1232
Diffstat (limited to 'packages/snort')
-rw-r--r-- | packages/snort/snort.inc | 2 |
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}]"; |