mirror of
https://github.com/zeek/zeek.git
synced 2025-10-12 03:28:19 +00:00
Merge remote-tracking branch 'origin/topic/bernhard/ticket-1163'
* origin/topic/bernhard/ticket-1163: Change #types description of sets to set BIT-1163 #merged
This commit is contained in:
commit
2d170edb1e
68 changed files with 221 additions and 209 deletions
|
@ -66,7 +66,14 @@ bool Field::Write(SerializationFormat* fmt) const
|
|||
|
||||
string Field::TypeName() const
|
||||
{
|
||||
string n = type_name(type);
|
||||
string n;
|
||||
|
||||
// We do not support tables, if the internal Bro type is table it
|
||||
// always is a set.
|
||||
if ( type == TYPE_TABLE )
|
||||
n = "set";
|
||||
else
|
||||
n = type_name(type);
|
||||
|
||||
if ( (type == TYPE_TABLE) || (type == TYPE_VECTOR) )
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue