mirror of
https://github.com/zeek/zeek.git
synced 2025-10-15 13:08:20 +00:00
Merge remote-tracking branch 'origin/fastpath'
* origin/fastpath: Fix inconsistencies in random number generation. Updating input framework unit tests. Add front-end name to InitMessage from WriterFrontend to Backend. Small tweak to make test complete quicker. Drain events before terminating log/thread managers. Fix strict-aliasing warning in RemoteSerializer.cc (fixes #834). Fix typos in event documentation Fix typos in NEWS for Bro 2.1 beta
This commit is contained in:
commit
9f6cf1ad90
52 changed files with 1196 additions and 718 deletions
|
@ -108,13 +108,13 @@ void WriterBackend::DisableFrontend()
|
|||
SendOut(new DisableMessage(frontend));
|
||||
}
|
||||
|
||||
bool WriterBackend::Init(string arg_path, int arg_num_fields, const Field* const* arg_fields)
|
||||
bool WriterBackend::Init(string arg_path, int arg_num_fields, const Field* const* arg_fields, string frontend_name)
|
||||
{
|
||||
path = arg_path;
|
||||
num_fields = arg_num_fields;
|
||||
fields = arg_fields;
|
||||
|
||||
string name = Fmt("%s/%s", path.c_str(), frontend->Name().c_str());
|
||||
string name = Fmt("%s/%s", path.c_str(), frontend_name.c_str());
|
||||
|
||||
SetName(name);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue