mirror of
https://github.com/zeek/zeek.git
synced 2025-10-10 02:28:21 +00:00
Move the functions and variables in Net.h to the zeek::net namespace. This includes moving network_time out of util.h.
This commit is contained in:
parent
ca9baec6e8
commit
e7c6d51ae7
55 changed files with 461 additions and 374 deletions
|
@ -1338,7 +1338,7 @@ double DNS_Mgr::GetNextTimeout()
|
|||
if ( asyncs_timeouts.empty() )
|
||||
return -1;
|
||||
|
||||
return network_time + DNS_TIMEOUT;
|
||||
return zeek::net::network_time + DNS_TIMEOUT;
|
||||
}
|
||||
|
||||
void DNS_Mgr::Process()
|
||||
|
@ -1350,7 +1350,7 @@ void DNS_Mgr::Process()
|
|||
{
|
||||
AsyncRequest* req = asyncs_timeouts.top();
|
||||
|
||||
if ( req->time + DNS_TIMEOUT > current_time() && ! terminating )
|
||||
if ( req->time + DNS_TIMEOUT > current_time() && ! zeek::net::terminating )
|
||||
break;
|
||||
|
||||
if ( ! req->processed )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue