mirror of
https://github.com/zeek/zeek.git
synced 2025-10-02 14:48:21 +00:00
broker/main: Adapt enum values to agree with comm.bif
Logic to detect this error already existed, but due to enum identifiers not having a value set, it never triggered before. Should probably backport this one.
This commit is contained in:
parent
cb610bdea2
commit
6bc36e8cf8
1 changed files with 11 additions and 9 deletions
|
@ -207,24 +207,26 @@ export {
|
|||
PEER_INVALID = 3,
|
||||
## Remote peer not listening.
|
||||
PEER_UNAVAILABLE = 4,
|
||||
## Remote peer disconnected during the handshake.
|
||||
PEER_DISCONNECT_DURING_HANDSHAKE = 5,
|
||||
## A peering request timed out.
|
||||
PEER_TIMEOUT = 5,
|
||||
PEER_TIMEOUT = 6,
|
||||
## Master with given name already exists.
|
||||
MASTER_EXISTS = 6,
|
||||
MASTER_EXISTS = 7,
|
||||
## Master with given name does not exist.
|
||||
NO_SUCH_MASTER = 7,
|
||||
NO_SUCH_MASTER = 8,
|
||||
## The given data store key does not exist.
|
||||
NO_SUCH_KEY = 8,
|
||||
NO_SUCH_KEY = 9,
|
||||
## The store operation timed out.
|
||||
REQUEST_TIMEOUT = 9,
|
||||
REQUEST_TIMEOUT = 10,
|
||||
## The operation expected a different type than provided.
|
||||
TYPE_CLASH = 10,
|
||||
TYPE_CLASH = 11,
|
||||
## The data value cannot be used to carry out the desired operation.
|
||||
INVALID_DATA = 11,
|
||||
INVALID_DATA = 12,
|
||||
## The storage backend failed to execute the operation.
|
||||
BACKEND_FAILURE = 12,
|
||||
BACKEND_FAILURE = 13,
|
||||
## The storage backend failed to execute the operation.
|
||||
STALE_DATA = 13,
|
||||
STALE_DATA = 14,
|
||||
## Catch-all for a CAF-level problem.
|
||||
CAF_ERROR = 100
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue