mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
fixes for initializing scripts compiled to C++
This commit is contained in:
parent
1af905a14f
commit
5c21240daf
3 changed files with 8 additions and 2 deletions
|
@ -917,7 +917,10 @@ p_hash_type ProfileFuncs::HashAttrs(const AttributesPtr& Attrs)
|
|||
// can vary in structure due to compilation of elements. We
|
||||
// do though enforce consistency for their types.
|
||||
if ( e )
|
||||
{
|
||||
h = merge_p_hashes(h, HashType(e->GetType()));
|
||||
h = merge_p_hashes(h, p_hash(e.get()));
|
||||
}
|
||||
}
|
||||
|
||||
return h;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue