mirror of
https://github.com/zeek/zeek.git
synced 2025-10-06 08:38:20 +00:00
Fix TableVal::DoClone to use CloneState cache
This commit is contained in:
parent
61d19d25e1
commit
aefd9322fd
6 changed files with 38 additions and 13 deletions
|
@ -2181,7 +2181,7 @@ Val* TableVal::DoClone(CloneState* state)
|
|||
TableEntryVal* val;
|
||||
while ( (val = tbl->NextEntry(key, cookie)) )
|
||||
{
|
||||
TableEntryVal* nval = val->Clone();
|
||||
TableEntryVal* nval = val->Clone(state);
|
||||
tv->AsNonConstTable()->Insert(key, nval);
|
||||
|
||||
if ( subnets )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue