Deprecate file_analysis::File::GetVal(), replace with ToVal()

This commit is contained in:
Jon Siwek 2020-05-22 12:27:37 -07:00
parent 27c3c207e4
commit faa4738807
14 changed files with 45 additions and 59 deletions

View file

@ -87,7 +87,7 @@ refine flow Flow += {
ids_event->Assign(17, val_mgr->Count(${ev.packet_action}));
mgr.Enqueue(::unified2_event,
IntrusivePtr{NewRef{}, connection()->bro_analyzer()->GetFile()->GetVal()},
connection()->bro_analyzer()->GetFile()->ToVal(),
std::move(ids_event));
}
return true;
@ -117,7 +117,7 @@ refine flow Flow += {
ids_event->Assign(16, val_mgr->Count(${ev.vlan_id}));
mgr.Enqueue(::unified2_event,
IntrusivePtr{NewRef{}, connection()->bro_analyzer()->GetFile()->GetVal()},
connection()->bro_analyzer()->GetFile()->ToVal(),
std::move(ids_event));
}
@ -137,7 +137,7 @@ refine flow Flow += {
packet->Assign(5, to_stringval(${pkt.packet_data}));
mgr.Enqueue(::unified2_packet,
IntrusivePtr{NewRef{}, connection()->bro_analyzer()->GetFile()->GetVal()},
connection()->bro_analyzer()->GetFile()->ToVal(),
std::move(packet));
}