mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Move Type types to zeek namespace
This commit is contained in:
parent
4a1b39a2be
commit
ed13972924
120 changed files with 2094 additions and 1934 deletions
|
@ -615,7 +615,7 @@ HTTP_Message::~HTTP_Message()
|
|||
|
||||
IntrusivePtr<RecordVal> HTTP_Message::BuildMessageStat(bool interrupted, const char* msg)
|
||||
{
|
||||
static auto http_message_stat = zeek::id::find_type<RecordType>("http_message_stat");
|
||||
static auto http_message_stat = zeek::id::find_type<zeek::RecordType>("http_message_stat");
|
||||
auto stat = make_intrusive<RecordVal>(http_message_stat);
|
||||
int field = 0;
|
||||
stat->Assign(field++, make_intrusive<TimeVal>(start_time));
|
||||
|
@ -1152,7 +1152,7 @@ void HTTP_Analyzer::GenStats()
|
|||
{
|
||||
if ( http_stats )
|
||||
{
|
||||
static auto http_stats_rec = zeek::id::find_type<RecordType>("http_stats_rec");
|
||||
static auto http_stats_rec = zeek::id::find_type<zeek::RecordType>("http_stats_rec");
|
||||
auto r = make_intrusive<RecordVal>(http_stats_rec);
|
||||
r->Assign(0, val_mgr->Count(num_requests));
|
||||
r->Assign(1, val_mgr->Count(num_replies));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue