mirror of
https://github.com/zeek/zeek.git
synced 2025-10-13 12:08:20 +00:00
Add max_size argument for find_all/find_all_ordered BIFs
This commit is contained in:
parent
fc0bfd21d5
commit
8cf1e51623
9 changed files with 88 additions and 4 deletions
|
@ -39,7 +39,7 @@ event run_test()
|
|||
# from the response. Not sure how that's helpful. We simply
|
||||
# grep out the zeek_version_info{...} endpoint="..." pieces and
|
||||
# expect one for each node to exist as a smoke test.
|
||||
local version_infos = find_all(response$body, /zeek_version_info\{[^}]+\}/);
|
||||
local version_infos = find_all(response$body, /zeek_version_info\{[^}]+\}/, 0);
|
||||
local endpoints: vector of string;
|
||||
for ( info in version_infos )
|
||||
for ( ep in find_all(info, /endpoint=\"[^"]+\"/))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue