diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-12-03 19:58:43 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-12-03 19:58:43 +0000 |
commit | d1a5fd714c3db3adaeec6d5198796f3926b7bae6 (patch) | |
tree | b29f9fdbf6845813cc2188117bd3477d37d29f4e | |
parent | 023c1ae731270c572e9653004f3ff637b1d3011f (diff) | |
download | pfsense-packages-d1a5fd714c3db3adaeec6d5198796f3926b7bae6.tar.gz pfsense-packages-d1a5fd714c3db3adaeec6d5198796f3926b7bae6.tar.bz2 pfsense-packages-d1a5fd714c3db3adaeec6d5198796f3926b7bae6.zip |
Move interfaces check to inside the $_POST code.
-rw-r--r-- | packages/snort/snort.inc | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc index 432447a1..3fd8318f 100644 --- a/packages/snort/snort.inc +++ b/packages/snort/snort.inc @@ -92,11 +92,10 @@ function sync_package_snort() { $first = 1; } } - } - - if(!$ifaces_final) { - log_error("Snort will not start. You must select an interface for it to listen on."); - return; + if(!$ifaces_final) { + log_error("Snort will not start. You must select an interface for it to listen on."); + return; + } } /* create log directory */ |