mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
Improve introspection of Record and TypeType values
* TypeType values are now printable and yield the type name/alias * Fix record_fields BIF to return correct type name for fields * Allow TypeType values that point to a RecordType to be used with record_fields BIF
This commit is contained in:
parent
45526e6063
commit
1f450c0510
11 changed files with 427 additions and 346 deletions
|
@ -1,4 +1,4 @@
|
|||
[source=wc -l ../input.log |, reader=Input::READER_RAW, mode=Input::MANUAL, name=input, fields=<no value description>, want_record=F, ev=line
|
||||
[source=wc -l ../input.log |, reader=Input::READER_RAW, mode=Input::MANUAL, name=input, fields=Val, want_record=F, ev=line
|
||||
{
|
||||
print outfile, description;
|
||||
print outfile, tpe;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue