mirror of
https://github.com/zeek/zeek.git
synced 2025-10-04 15:48:19 +00:00
Fix @unload'd files from generating bro_script_loaded event.
This commit is contained in:
parent
089b822302
commit
0dd1a1e21e
3 changed files with 6 additions and 26 deletions
|
@ -962,6 +962,7 @@ int main(int argc, char** argv)
|
|||
// Queue events reporting loaded scripts.
|
||||
for ( std::list<ScannedFile>::iterator i = files_scanned.begin(); i != files_scanned.end(); i++ )
|
||||
{
|
||||
if ( i->skipped ) continue;
|
||||
val_list* vl = new val_list;
|
||||
vl->append(new StringVal(i->name.c_str()));
|
||||
vl->append(new Val(i->include_level, TYPE_COUNT));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue