mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Merge remote-tracking branch 'origin/fastpath'
* origin/fastpath: No longer write to the PacketFilter::LOG stream if not reading traffic.
This commit is contained in:
commit
41a443677b
3 changed files with 8 additions and 2 deletions
|
@ -144,7 +144,8 @@ function install()
|
|||
$sub=default_filter]);
|
||||
}
|
||||
|
||||
Log::write(PacketFilter::LOG, info);
|
||||
if ( reading_live_traffic() || reading_traces() )
|
||||
Log::write(PacketFilter::LOG, info);
|
||||
}
|
||||
|
||||
event bro_init() &priority=10
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue