mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 00:28:21 +00:00
Move zeek::net namespace to zeek::run_state namespace.
This also moves all of the code from Net.{h,cc} to RunState.{h,cc} and marks Net.h as deprecated
This commit is contained in:
parent
d608e7c9a5
commit
0ac3fafe13
64 changed files with 477 additions and 467 deletions
|
@ -25,7 +25,7 @@
|
|||
#include "Type.h"
|
||||
#include "Expr.h"
|
||||
#include "NetVar.h"
|
||||
#include "Net.h"
|
||||
#include "RunState.h"
|
||||
#include "Event.h"
|
||||
#include "Reporter.h"
|
||||
#include "Desc.h"
|
||||
|
@ -119,7 +119,7 @@ const char* File::Name() const
|
|||
bool File::Open(FILE* file, const char* mode)
|
||||
{
|
||||
static bool fds_maximized = false;
|
||||
open_time = zeek::net::network_time ? zeek::net::network_time : zeek::util::current_time();
|
||||
open_time = zeek::run_state::network_time ? zeek::run_state::network_time : zeek::util::current_time();
|
||||
|
||||
if ( ! fds_maximized )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue