mirror of
https://github.com/zeek/zeek.git
synced 2025-10-07 00:58:19 +00:00
Merge remote-tracking branch 'origin/topic/awelzel/propagate-on-change-through-copy'
* origin/topic/awelzel/propagate-on-change-through-copy: TableVal: Propagate &on_change attribute through copy() testing/btest: Add test showing &expire_func/&create_expire is copied
This commit is contained in:
commit
0fd92555d9
8 changed files with 145 additions and 1 deletions
|
@ -2661,6 +2661,9 @@ ValPtr TableVal::DoClone(CloneState* state)
|
|||
detail::timer_mgr->Add(tv->timer);
|
||||
}
|
||||
|
||||
if ( change_func )
|
||||
tv->change_func = change_func;
|
||||
|
||||
if ( expire_func )
|
||||
tv->expire_func = expire_func;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue