mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Merge remote-tracking branch 'origin/topic/jsiwek/deprecate-zeekenv'
* origin/topic/jsiwek/deprecate-zeekenv: Deprecate zeekenv() and use getenv() directly
This commit is contained in:
commit
dacdf5424b
13 changed files with 29 additions and 46 deletions
|
@ -409,7 +409,7 @@ void DNS_Mgr::InitSource()
|
|||
// script-layer option to configure the DNS resolver as it may not be
|
||||
// configured to the user's desired address at the time when we need to to
|
||||
// the lookup.
|
||||
auto dns_resolver = util::zeekenv("ZEEK_DNS_RESOLVER");
|
||||
auto dns_resolver = getenv("ZEEK_DNS_RESOLVER");
|
||||
auto dns_resolver_addr = dns_resolver ? IPAddr(dns_resolver) : IPAddr();
|
||||
char err[NB_DNS_ERRSIZE];
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue