GH-1215: Remove dispatch_map from packet analysis, replace with BIF methods for registering dispatches

This commit is contained in:
Tim Wojtulewicz 2020-10-27 12:43:36 -07:00 committed by Tim Wojtulewicz
parent 43821a8957
commit cd06bf34c7
34 changed files with 3770 additions and 3623 deletions

View file

@ -49,7 +49,6 @@ Reporter::Reporter(bool arg_abort_on_scripting_errors)
info_to_stderr = true;
warnings_to_stderr = true;
errors_to_stderr = true;
after_zeek_init = false;
weird_count = 0;
weird_sampling_rate = 0;
@ -662,4 +661,10 @@ void Reporter::DoLog(const char* prefix, EventHandlerPtr event, FILE* out,
free(alloced);
}
bool Reporter::EmitToStderr(bool flag)
{
return flag || ! run_state::detail::zeek_init_done;
}
} // namespace zeek