mirror of
https://github.com/zeek/zeek.git
synced 2025-10-17 05:58:20 +00:00
Implement the zeek_init handler.
Implements the change and a test.
This commit is contained in:
parent
f96bc81f85
commit
8cefb9be42
118 changed files with 229 additions and 165 deletions
|
@ -186,7 +186,7 @@ function run(cmd: Command): Result
|
|||
}
|
||||
}
|
||||
|
||||
event bro_done()
|
||||
event zeek_done()
|
||||
{
|
||||
# We are punting here and just deleting any unprocessed files.
|
||||
for ( uid in pending_files )
|
||||
|
|
|
@ -148,7 +148,7 @@ function get_emails(a: addr): string
|
|||
return fmt_email_string(find_all_emails(a));
|
||||
}
|
||||
|
||||
event bro_init() &priority=10
|
||||
event zeek_init() &priority=10
|
||||
{
|
||||
# Double backslashes are needed due to string parsing.
|
||||
local_dns_suffix_regex = set_to_regex(local_zones, "(^\\.?|\\.)(~~)$");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue