mirror of
https://github.com/zeek/zeek.git
synced 2025-10-11 11:08: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
|
@ -200,10 +200,10 @@ void zeek::detail::ParentProcessCheckTimer::Dispatch(double t, bool is_expire)
|
|||
// FreeBSD: procctl(PROC_PDEATHSIG_CTL)
|
||||
// Also note the Stem process has its own polling loop with similar logic.
|
||||
if ( zeek::Supervisor::ThisNode()->parent_pid != getppid() )
|
||||
zeek_terminate_loop("supervised node was orphaned");
|
||||
zeek::net::detail::zeek_terminate_loop("supervised node was orphaned");
|
||||
|
||||
if ( ! is_expire )
|
||||
timer_mgr->Add(new ParentProcessCheckTimer(network_time + interval,
|
||||
timer_mgr->Add(new ParentProcessCheckTimer(zeek::net::network_time + interval,
|
||||
interval));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue