Merge remote-tracking branch 'origin/topic/awelzel/set-val-on-ids-for-enums'

* origin/topic/awelzel/set-val-on-ids-for-enums:
  broker/main: Adapt enum values to agree with comm.bif
  btest/plugin: Add plugin testing enum identifiers
  Var/add_type: Do not clone EnumType when declared for the first time
  type/id/zeekygen: Add EnumVal to enum identifiers
This commit is contained in:
Arne Welzel 2025-04-04 18:36:37 +02:00
commit 94b1ce8c15
12 changed files with 199 additions and 12 deletions

4
NEWS
View file

@ -120,6 +120,10 @@ Changed Functionality
- The RDP analyzer now also parses connections that do not contain the cookie
field, which were previously rejected.
- An enum's zeek::detail::ID instance now holds its ``EnumVal``. For example,
looking up the "Conn::LOG" identifier allows to directly query the ``EnumVal``
using ``ID::GetVal()``.
Removed Functionality
---------------------