mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Merge remote-tracking branch 'origin/topic/jsiwek/gh-211'
* origin/topic/jsiwek/gh-211: GH-208: change invalid subnet expressions to a runtime error GH-211: improve consistency of how scripting errors are handled Removed the 'allow_init_errors' option.
This commit is contained in:
commit
0790c1c559
53 changed files with 441 additions and 156 deletions
|
@ -120,13 +120,11 @@ function find_all_emails(ip: addr): set[string]
|
|||
for ( i in one_to_32 )
|
||||
{
|
||||
tmp_subnet = mask_addr(ip, one_to_32[i]);
|
||||
for ( email in local_admins[tmp_subnet] )
|
||||
{
|
||||
if ( tmp_subnet in local_admins )
|
||||
for ( email in local_admins[tmp_subnet] )
|
||||
{
|
||||
if ( email != "" )
|
||||
add output_values[email];
|
||||
}
|
||||
}
|
||||
}
|
||||
return output_values;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue