mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 22:58:20 +00:00
Update deprecated ValManager::GetCount usages
This commit is contained in:
parent
0ddac4abcf
commit
93f4c5871b
89 changed files with 830 additions and 844 deletions
|
@ -154,8 +154,8 @@ void TCP_Reassembler::Gap(uint64_t seq, uint64_t len)
|
|||
dst_analyzer->EnqueueConnEvent(content_gap,
|
||||
IntrusivePtr{AdoptRef{}, dst_analyzer->BuildConnVal()},
|
||||
val_mgr->Bool(IsOrig()),
|
||||
IntrusivePtr{AdoptRef{}, val_mgr->GetCount(seq)},
|
||||
IntrusivePtr{AdoptRef{}, val_mgr->GetCount(len)}
|
||||
val_mgr->Count(seq),
|
||||
val_mgr->Count(len)
|
||||
);
|
||||
|
||||
if ( type == Direct )
|
||||
|
@ -615,7 +615,7 @@ void TCP_Reassembler::DeliverBlock(uint64_t seq, int len, const u_char* data)
|
|||
tcp_analyzer->EnqueueConnEvent(tcp_contents,
|
||||
IntrusivePtr{AdoptRef{}, tcp_analyzer->BuildConnVal()},
|
||||
val_mgr->Bool(IsOrig()),
|
||||
IntrusivePtr{AdoptRef{}, val_mgr->GetCount(seq)},
|
||||
val_mgr->Count(seq),
|
||||
make_intrusive<StringVal>(len, (const char*) data)
|
||||
);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue