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:
Robin Sommer 2014-04-01 16:50:01 -07:00
commit 2d170edb1e
68 changed files with 221 additions and 209 deletions

View file

@ -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) )
{