aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2006-09-27 03:10:01 +0000
committerScott Ullrich <sullrich@pfsense.org>2006-09-27 03:10:01 +0000
commit18c6ff8f5d16565f042264297f24d06593f02ba1 (patch)
tree3ae6df29ba3cb593cc4a697bc4317bfb6d764319
parentc26e3c422c42a4e8e446fd2a87b52534d1bcf05f (diff)
downloadpfsense-packages-18c6ff8f5d16565f042264297f24d06593f02ba1.tar.gz
pfsense-packages-18c6ff8f5d16565f042264297f24d06593f02ba1.tar.bz2
pfsense-packages-18c6ff8f5d16565f042264297f24d06593f02ba1.zip
Space seperate manual whitelist items correctly so that they can be parsed
-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 50fbdf4d..6a59d11d 100644
--- a/packages/snort/snort.inc
+++ b/packages/snort/snort.inc
@@ -158,7 +158,7 @@ function generate_snort_conf() {
if($config['installedpackages']['snortwhitelist'])
foreach($config['installedpackages']['snortwhitelist']['config'] as $snort)
- $home_net .= $snort['ip'];
+ $home_net .= $snort['ip'] . " ";
/* write out whitelist, convert spaces to carriage returns */
$whitelist_home_net = str_replace(" ", "\n", $home_net);