mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
Switch zeek:🆔:lookup to zeek:🆔:find
For parity with Scope since it now uses Find instead of Lookup
This commit is contained in:
parent
7843416e51
commit
4debad8caf
59 changed files with 339 additions and 339 deletions
|
@ -594,8 +594,8 @@ void Packet::ProcessLayer2()
|
|||
|
||||
IntrusivePtr<RecordVal> Packet::ToRawPktHdrVal() const
|
||||
{
|
||||
static auto raw_pkt_hdr_type = zeek::id::lookup_type<RecordType>("raw_pkt_hdr");
|
||||
static auto l2_hdr_type = zeek::id::lookup_type<RecordType>("l2_hdr");
|
||||
static auto raw_pkt_hdr_type = zeek::id::find_type<RecordType>("raw_pkt_hdr");
|
||||
static auto l2_hdr_type = zeek::id::find_type<RecordType>("l2_hdr");
|
||||
auto pkt_hdr = make_intrusive<RecordVal>(raw_pkt_hdr_type);
|
||||
RecordVal* l2_hdr = new RecordVal(l2_hdr_type);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue