Fix TableVal::DoClone to use CloneState cache

This commit is contained in:
Jon Siwek 2019-06-20 18:31:58 -07:00
parent 61d19d25e1
commit aefd9322fd
6 changed files with 38 additions and 13 deletions

View file

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