Communication must now be enabled explicitly.

The communication subsystem is now disabled until a new BiF,
enable_communication(), is called. The base scripts do this
automatically when either a Communication::Node is defined, or Bro is
asked to listen for incoming connections.
This commit is contained in:
Robin Sommer 2011-08-08 13:49:50 -07:00
parent 0e2a1605b3
commit 103396f6d3
9 changed files with 27 additions and 43 deletions

View file

@ -108,6 +108,9 @@ const src_names = {
event bro_init()
{
Log::create_stream(COMMUNICATION, [$columns=Info]);
if ( |nodes| > 0 )
enable_communication();
}
function do_script_log_common(level: count, src: count, msg: string)