mirror of
https://github.com/zeek/zeek.git
synced 2025-10-14 12:38:20 +00:00
Fix &default fields in records not being initialized in coerced assignments.
Addresses #722
This commit is contained in:
parent
f1e132cd1a
commit
f302f2f3f2
15 changed files with 52 additions and 23 deletions
|
@ -2,6 +2,6 @@
|
|||
#path test.failure
|
||||
#fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
|
||||
#types time addr port addr port string string
|
||||
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 failure US
|
||||
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 failure UK
|
||||
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 failure MX
|
||||
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 failure US
|
||||
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 failure UK
|
||||
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 failure MX
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
#path test
|
||||
#fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
|
||||
#types time addr port addr port string string
|
||||
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 success -
|
||||
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 failure US
|
||||
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 failure UK
|
||||
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 success BR
|
||||
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 failure MX
|
||||
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 success unknown
|
||||
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 failure US
|
||||
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 failure UK
|
||||
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 success BR
|
||||
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 failure MX
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
#path test.success
|
||||
#fields t id.orig_h id.orig_p id.resp_h id.resp_p status country
|
||||
#types time addr port addr port string string
|
||||
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 success -
|
||||
1315167059.502670 1.2.3.4 1234 2.3.4.5 80 success BR
|
||||
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 success unknown
|
||||
1323970700.744867 1.2.3.4 1234 2.3.4.5 80 success BR
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue