mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 16:48:19 +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
|
@ -11,7 +11,7 @@
|
|||
#include "plugin/Manager.h"
|
||||
#include "iosource/Manager.h"
|
||||
#include "iosource/PktSrc.h"
|
||||
#include "Net.h"
|
||||
#include "RunState.h"
|
||||
|
||||
zeek::EventMgr zeek::event_mgr;
|
||||
zeek::EventMgr& mgr = zeek::event_mgr;
|
||||
|
@ -226,8 +226,8 @@ void EventMgr::Process()
|
|||
// reading live (which includes pseudo-realtime), advance the time
|
||||
// here to the current time since otherwise it won't move forward.
|
||||
zeek::iosource::PktSrc* pkt_src = zeek::iosource_mgr->GetPktSrc();
|
||||
if ( ! pkt_src || ! pkt_src->IsOpen() || zeek::net::reading_live )
|
||||
zeek::net::detail::net_update_time(zeek::util::current_time());
|
||||
if ( ! pkt_src || ! pkt_src->IsOpen() || zeek::run_state::reading_live )
|
||||
zeek::run_state::detail::net_update_time(zeek::util::current_time());
|
||||
|
||||
queue_flare.Extinguish();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue