aboutsummaryrefslogtreecommitdiffstats
path: root/packages/snort/snort.inc
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2007-11-01 18:07:16 +0000
committerScott Ullrich <sullrich@pfsense.org>2007-11-01 18:07:16 +0000
commit677631b45506bd75e1ccad12942fc80a2dc8b35c (patch)
treef9067406a29e143db2c2aa96967c21cc1445ba78 /packages/snort/snort.inc
parent0063c2c580ddb72f0459ffda17396d405358490b (diff)
downloadpfsense-packages-677631b45506bd75e1ccad12942fc80a2dc8b35c.tar.gz
pfsense-packages-677631b45506bd75e1ccad12942fc80a2dc8b35c.tar.bz2
pfsense-packages-677631b45506bd75e1ccad12942fc80a2dc8b35c.zip
Snort not binding to correct interface on boot
Ticket #1472
Diffstat (limited to 'packages/snort/snort.inc')
-rw-r--r--packages/snort/snort.inc6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc
index 53dfd18c..432447a1 100644
--- a/packages/snort/snort.inc
+++ b/packages/snort/snort.inc
@@ -93,6 +93,12 @@ function sync_package_snort() {
}
}
}
+
+ if(!$ifaces_final) {
+ log_error("Snort will not start. You must select an interface for it to listen on.");
+ return;
+ }
+
/* create log directory */
$start = "/bin/mkdir -p /var/log/snort";