From 677631b45506bd75e1ccad12942fc80a2dc8b35c Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Thu, 1 Nov 2007 18:07:16 +0000 Subject: Snort not binding to correct interface on boot Ticket #1472 --- packages/snort/snort.inc | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'packages/snort') 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"; -- cgit v1.2.3