mirror of
https://github.com/zeek/zeek.git
synced 2025-10-08 17:48: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
|
@ -3861,7 +3861,7 @@ bool ScheduleExpr::IsPure() const
|
|||
|
||||
ValPtr ScheduleExpr::Eval(Frame* f) const
|
||||
{
|
||||
if ( terminating )
|
||||
if ( zeek::net::terminating )
|
||||
return nullptr;
|
||||
|
||||
auto when_val = when->Eval(f);
|
||||
|
@ -3872,7 +3872,7 @@ ValPtr ScheduleExpr::Eval(Frame* f) const
|
|||
double dt = when_val->InternalDouble();
|
||||
|
||||
if ( when->GetType()->Tag() == zeek::TYPE_INTERVAL )
|
||||
dt += network_time;
|
||||
dt += zeek::net::network_time;
|
||||
|
||||
auto args = eval_list(f, event->Args());
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue