From 18c6ff8f5d16565f042264297f24d06593f02ba1 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 27 Sep 2006 03:10:01 +0000 Subject: Space seperate manual whitelist items correctly so that they can be parsed --- packages/snort/snort.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'packages/snort') 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); -- cgit v1.2.3