mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 23:28:20 +00:00
Add file analysis action to send data to script-land in chosen events.
This commit is contained in:
parent
85410a7657
commit
4b30cc2e24
10 changed files with 134 additions and 17 deletions
|
@ -185,7 +185,7 @@ bool Manager::RemoveFile(const FileID& file_id)
|
|||
|
||||
if ( it == id_map.end() ) return false;
|
||||
|
||||
if ( ! str_map.erase(it->second->Unique()) )
|
||||
if ( ! str_map.erase(it->second->GetUnique()) )
|
||||
reporter->Error("No string mapping for file ID %s", file_id.c_str());
|
||||
delete it->second;
|
||||
id_map.erase(it);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue