mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fixing send_id() problem.
We no longer update &redef functions. Updating code on the fly isn't fully supported.
This commit is contained in:
parent
f3ed235ba7
commit
ff32f5f833
1 changed files with 1 additions and 1 deletions
|
@ -65,7 +65,7 @@ function configuration_update_func(p: event_peer)
|
|||
# We don't want to update non-const globals because that's usually
|
||||
# where state is stored and those values will frequently be declared
|
||||
# with &redef so that attributes can be redefined.
|
||||
if ( t$constant && t$redefinable )
|
||||
if ( t$constant && t$redefinable && t$type_name != "func" )
|
||||
{
|
||||
send_id(p, id);
|
||||
++cnt;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue