mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 01:58:20 +00:00
Deprecate Analyzer::ConnectionEvent()
And update usages to Analyzer::EnqueueConnEvent()
This commit is contained in:
parent
e394ea38bc
commit
5e496e43b7
34 changed files with 954 additions and 1043 deletions
|
@ -79,10 +79,10 @@ void File_Analyzer::Identify()
|
|||
: *(matches.begin()->second.begin());
|
||||
|
||||
if ( file_transferred )
|
||||
ConnectionEventFast(file_transferred, {
|
||||
BuildConnVal(),
|
||||
new StringVal(buffer_len, buffer),
|
||||
new StringVal("<unknown>"),
|
||||
new StringVal(match),
|
||||
});
|
||||
EnqueueConnEvent(file_transferred,
|
||||
IntrusivePtr{AdoptRef{}, BuildConnVal()},
|
||||
make_intrusive<StringVal>(buffer_len, buffer),
|
||||
make_intrusive<StringVal>("<unknown>"),
|
||||
make_intrusive<StringVal>(match)
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue