mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 07:08:19 +00:00
Deprecate global Val pointers in NetVar.h
All of these have fairly niche uses, so better maintained as lookup/static closer to the usage site.
This commit is contained in:
parent
c0986f0739
commit
d34b24e776
13 changed files with 83 additions and 49 deletions
|
@ -784,6 +784,7 @@ zeek::detail::SetupResult zeek::detail::setup(int argc, char** argv,
|
|||
|
||||
if ( profiling_interval > 0 )
|
||||
{
|
||||
const auto& profiling_file = zeek::lookup_val("profiling_file");
|
||||
profiling_logger = new ProfileLogger(profiling_file->AsFile(),
|
||||
profiling_interval);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue