mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
GH-1080: Rename conflicting NetControl::DROP enum definitions
``NetControl::DROP`` had 3 conflicting definitions that could potentially be used incorrectly without any warnings or type-checking errors. Such enum redefinition conflicts are now caught and treated as errors, so the ``NetControl::DROP`` enums had to be renamed: * The use as enum of type ``Log::ID`` is renamed to ``NetControl::DROP_LOG`` * The use as enum of type ``NetControl::CatchReleaseInfo`` is renamed to ``NetControl::DROP_REQUESTED`` * The use as enum of type ``NetControl::RuleType`` is unchanged and still named ``NetControl::DROP``
This commit is contained in:
parent
8517d70e52
commit
613b27eec7
6 changed files with 55 additions and 26 deletions
29
NEWS
29
NEWS
|
@ -6,6 +6,35 @@ release. For an exhaustive list of changes, see the ``CHANGES`` file
|
|||
Zeek 4.0.0
|
||||
==========
|
||||
|
||||
New Functionality
|
||||
-----------------
|
||||
|
||||
TODO: nothing notable yet
|
||||
|
||||
Changed Functionality
|
||||
---------------------
|
||||
|
||||
- ``NetControl::DROP`` had 3 conflicting definitions that could potentially
|
||||
be used incorrectly without any warnings or type-checking errors.
|
||||
Such enum redefinition conflicts are now caught and treated as errors,
|
||||
so the ``NetControl::DROP`` enums had to be renamed:
|
||||
|
||||
- The use as enum of type ``Log::ID`` is renamed to ``NetControl::DROP_LOG``
|
||||
|
||||
- The use as enum of type ``NetControl::CatchReleaseInfo`` is renamed to
|
||||
``NetControl::DROP_REQUESTED``
|
||||
|
||||
- The use as enum of type ``NetControl::RuleType`` is unchanged and still
|
||||
named ``NetControl::DROP``
|
||||
|
||||
Removed Functionality
|
||||
---------------------
|
||||
|
||||
TODO: nothing notable yet
|
||||
|
||||
Deprecated Functionality
|
||||
------------------------
|
||||
|
||||
TODO: nothing notable yet
|
||||
|
||||
Zeek 3.2.0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue