aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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";