Deprecate zeekenv() and use getenv() directly

This commit is contained in:
Jon Siwek 2021-01-29 16:52:02 -08:00
parent 79f9979f80
commit b8c563dbdd
11 changed files with 24 additions and 45 deletions

View file

@ -71,7 +71,7 @@ Manager::Manager(const string& arg_config, const string& bro_command)
identifiers(), all_info(), last_identifier_seen(), incomplete_type(),
enum_mappings(), config(arg_config), bro_mtime()
{
if ( util::zeekenv("ZEEK_DISABLE_ZEEKYGEN") )
if ( getenv("ZEEK_DISABLE_ZEEKYGEN") )
disabled = true;
// If running bro without the "-X" option, then we don't need bro_mtime.