mirror of
https://github.com/zeek/zeek.git
synced 2025-10-09 10:08:20 +00:00
Remove deprecated attributes.
To be more exact: &encrypt, &mergeable, &rotate_interval, &rotate_size Also removes no longer used redef-able constants: log_rotate_interval, log_max_size, log_encryption_key GH-243
This commit is contained in:
parent
0080c5ea09
commit
1ff2894af2
17 changed files with 17 additions and 561 deletions
10
src/ID.cc
10
src/ID.cc
|
@ -64,16 +64,6 @@ void ID::SetVal(Val* v, Opcode op, bool arg_weak_ref)
|
|||
{
|
||||
if ( op != OP_NONE )
|
||||
{
|
||||
if ( type && val && type->Tag() == TYPE_TABLE &&
|
||||
val->AsTableVal()->FindAttr(ATTR_MERGEABLE) &&
|
||||
v->AsTableVal()->FindAttr(ATTR_MERGEABLE) )
|
||||
{
|
||||
StateAccess::Log(new StateAccess(OP_ASSIGN, this,
|
||||
v, val));
|
||||
v->AsTableVal()->AddTo(val->AsTableVal(), 0, false);
|
||||
return;
|
||||
}
|
||||
|
||||
MutableVal::Properties props = 0;
|
||||
|
||||
if ( attrs && attrs->FindAttr(ATTR_TRACKED) )
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue