mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
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:
parent
0e2a1605b3
commit
103396f6d3
9 changed files with 27 additions and 43 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue