aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-12 20:05:10 +0000
committerErmal <eri@pfsense.org>2012-07-12 20:05:10 +0000
commit80167e60d36acd613a083bbea6e2fbfd5f180f89 (patch)
tree773ff90b0179fd0cea17d207f7898a7524112884 /config
parentf442355f4eebc9e85e70e2ca178c7891b0b6fd2a (diff)
downloadpfsense-packages-80167e60d36acd613a083bbea6e2fbfd5f180f89.tar.gz
pfsense-packages-80167e60d36acd613a083bbea6e2fbfd5f180f89.tar.bz2
pfsense-packages-80167e60d36acd613a083bbea6e2fbfd5f180f89.zip
Correct problem with custom defined lists to correctly generate it
Diffstat (limited to 'config')
-rw-r--r--config/snort/snort.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index d8fb7051..48ddb44e 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -101,8 +101,10 @@ function snort_build_list($listname = "") {
$wandns = $whitelist['wandnsips'];
$vips = $whitelist['vips'];
$vpns = $whitelist['vpnips'];
- if (!empty($whitelist['address']))
+ if (!empty($whitelist['address'])) {
$home_net .= trim($whitelist['address']);
+ $home_net .= " ";
+ }
}
/* build an interface array list */