BrokerStore<->Zeek table: adopt to recent Zeek API changes

This commit is contained in:
Johanna Amann 2020-07-09 14:31:59 -07:00
parent e1a45d33e0
commit 41dd7df69a
6 changed files with 20 additions and 21 deletions

View file

@ -620,7 +620,7 @@ void Attributes::CheckAttr(Attr* a)
}
// Temporary since Broker does not support ListVals - and we cannot easily convert to set/vector
if ( type->AsTableType()->IndexTypes().size() != 1 )
if ( type->AsTableType()->GetIndexTypes().size() != 1 )
{
Error("&backend only supports one-element set/table indexes");
}
@ -655,7 +655,7 @@ void Attributes::CheckAttr(Attr* a)
}
// Temporary since Broker does not support ListVals - and we cannot easily convert to set/vector
if ( type->AsTableType()->IndexTypes().size() != 1 )
if ( type->AsTableType()->GetIndexTypes().size() != 1 )
{
Error("&broker_store only supports one-element set/table indexes");
}