mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18: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
|
@ -17,7 +17,7 @@ int main(int argc, char** argv)
|
|||
|
||||
auto& options = setup_result.options;
|
||||
auto do_net_run = zeek::iosource_mgr->Size() > 0 ||
|
||||
have_pending_timers ||
|
||||
zeek::net::detail::have_pending_timers ||
|
||||
zeek::BifConst::exit_only_after_terminate;
|
||||
|
||||
if ( do_net_run )
|
||||
|
@ -56,7 +56,7 @@ int main(int argc, char** argv)
|
|||
mem_net_start_malloced / 1024 / 1024);
|
||||
}
|
||||
|
||||
net_run();
|
||||
zeek::net::detail::net_run();
|
||||
|
||||
double time_net_done = current_time(true);;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue