mirror of
https://github.com/zeek/zeek.git
synced 2025-10-03 15:18:20 +00:00
Copy docs into Zeek repo directly
This is based on commit 2731def9159247e6da8a3191783c89683363689c from the zeek-docs repo.
This commit is contained in:
parent
83f1e74643
commit
ded98cd373
1074 changed files with 169319 additions and 0 deletions
7
doc/scripting/data_struct_vector_iter.zeek
Normal file
7
doc/scripting/data_struct_vector_iter.zeek
Normal file
|
@ -0,0 +1,7 @@
|
|||
event zeek_init()
|
||||
{
|
||||
local addr_vector: vector of addr = vector(1.2.3.4, 2.3.4.5, 3.4.5.6);
|
||||
|
||||
for ( i in addr_vector )
|
||||
print mask_addr(addr_vector[i], 18);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue