Fix small bug: sets that are written to logfiles may only contain atomic types.

(trying to write sets of records, etc. leads to a bro segfault)
This commit is contained in:
Bernhard Amann 2011-11-15 12:07:31 -08:00
parent d1787523fc
commit 5e8dd4f06a

View file

@ -149,7 +149,7 @@ bool LogVal::IsCompatibleType(BroType* t, bool atomic_only)
if ( ! t->IsSet() )
return false;
return IsCompatibleType(t->AsSetType()->Indices()->PureType());
return IsCompatibleType(t->AsSetType()->Indices()->PureType(), true);
}
case TYPE_VECTOR: