aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort
diff options
context:
space:
mode:
authorJim Pingle <jim@pingle.org>2009-03-08 16:49:04 -0400
committerJim Pingle <jim@pingle.org>2009-03-08 16:49:04 -0400
commitf7452a391914883dd7412a64ad2b6166f102937d (patch)
tree0f2020ba13176982505e52b2b3e347a4903fd22c /config/snort
parent2dc6436f9282183ebf1be0066ddf0895f42dc809 (diff)
downloadpfsense-packages-f7452a391914883dd7412a64ad2b6166f102937d.tar.gz
pfsense-packages-f7452a391914883dd7412a64ad2b6166f102937d.tar.bz2
pfsense-packages-f7452a391914883dd7412a64ad2b6166f102937d.zip
Fix snort package, rc.d script was being written incorrectly when multiple interfaces were selected.
Diffstat (limited to 'config/snort')
-rw-r--r--config/snort/snort.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc
index c1c1a400..8b9d77f7 100644
--- a/config/snort/snort.inc
+++ b/config/snort/snort.inc
@@ -140,7 +140,7 @@ function sync_package_snort()
/* Note the sleep delay. Seems to help getting mult interfaces to start -gtm */
foreach($snortInterfaces as $snortIf)
{
- $start .= ";sleep 8;snort -c /usr/local/etc/snort/snort.conf -l /var/log/snort -D -i {$snortIf} -A fast &";
+ $start .= "\nsleep 8;snort -c /usr/local/etc/snort/snort.conf -l /var/log/snort -D -i {$snortIf} -A fast &";
}
/* if block offenders is checked, start snort2c */