mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Teach CompHash to allow indexing by records with vector/table/set fields.
Addresses #464.
This commit is contained in:
parent
8eeb37129a
commit
1e4c3d8ea2
3 changed files with 295 additions and 9 deletions
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
[1.2.3.4] = {
|
||||
[a=4, tags_v=[0, 1], tags_t={
|
||||
[two] = 2,
|
||||
[one] = 1
|
||||
}, tags_s={
|
||||
b,
|
||||
a
|
||||
}]
|
||||
}
|
||||
}
|
||||
{
|
||||
[a=13, tags_v=[, , 2, 3], tags_t={
|
||||
[four] = 4,
|
||||
[five] = 5
|
||||
}, tags_s={
|
||||
d,
|
||||
c
|
||||
}],
|
||||
[a=4, tags_v=[0, 1], tags_t={
|
||||
[two] = 2,
|
||||
[one] = 1
|
||||
}, tags_s={
|
||||
b,
|
||||
a
|
||||
}]
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue