diff options
-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}]"; |