mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +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
|
@ -923,7 +923,7 @@ void Manager::Process()
|
|||
// Ensure that time gets update before processing broker messages, or events
|
||||
// based on them might get scheduled wrong.
|
||||
if ( use_real_time )
|
||||
net_update_time(current_time());
|
||||
zeek::net::detail::net_update_time(current_time());
|
||||
|
||||
bool had_input = false;
|
||||
|
||||
|
@ -995,11 +995,11 @@ void Manager::Process()
|
|||
|
||||
if ( had_input )
|
||||
{
|
||||
if ( network_time == 0 )
|
||||
if ( zeek::net::network_time == 0 )
|
||||
// If we're getting Broker messages, but still haven't initialized
|
||||
// network_time, may as well do so now because otherwise the
|
||||
// zeek::net::network_time, may as well do so now because otherwise the
|
||||
// broker/cluster logs will end up using timestamp 0.
|
||||
net_update_time(current_time());
|
||||
zeek::net::detail::net_update_time(current_time());
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue