diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-11-01 18:07:16 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-11-01 18:07:16 +0000 |
commit | 677631b45506bd75e1ccad12942fc80a2dc8b35c (patch) | |
tree | f9067406a29e143db2c2aa96967c21cc1445ba78 /packages/snort | |
parent | 0063c2c580ddb72f0459ffda17396d405358490b (diff) | |
download | pfsense-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')
-rw-r--r-- | packages/snort/snort.inc | 6 |
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"; |