mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 06:38:20 +00:00
Fix clang-tidy performance-enum-size warnings in headers
This commit is contained in:
parent
89ac0cb418
commit
f386deba94
76 changed files with 184 additions and 136 deletions
|
@ -20,14 +20,14 @@ namespace zeek::detail {
|
|||
|
||||
// TODO: Anon.h may not be the right place to put these functions ...
|
||||
|
||||
enum ip_addr_anonymization_class_t {
|
||||
enum ip_addr_anonymization_class_t : uint8_t {
|
||||
ORIG_ADDR, // client address
|
||||
RESP_ADDR, // server address
|
||||
OTHER_ADDR,
|
||||
NUM_ADDR_ANONYMIZATION_CLASSES,
|
||||
};
|
||||
|
||||
enum ip_addr_anonymization_method_t {
|
||||
enum ip_addr_anonymization_method_t : uint8_t {
|
||||
KEEP_ORIG_ADDR,
|
||||
SEQUENTIALLY_NUMBERED,
|
||||
RANDOM_MD5,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue