mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-07 17:45:06 -05:00
Add new cmdmon status codes for packet version and length mismatch
With next procotol version this will allow chronyc to report that chronyd is using a different protocol version.
This commit is contained in:
6
candm.h
6
candm.h
@@ -328,6 +328,10 @@ typedef struct {
|
||||
|
||||
#define PROTO_VERSION_NUMBER 4
|
||||
|
||||
/* The oldest protocol version that is compatible enough with
|
||||
the current version to report a version mismatch */
|
||||
#define PROTO_VERSION_MISMATCH_COMPAT 4
|
||||
|
||||
/* ================================================== */
|
||||
|
||||
typedef struct {
|
||||
@@ -434,6 +438,8 @@ typedef struct {
|
||||
#define STT_INACTIVE 15
|
||||
#define STT_BADSAMPLE 16
|
||||
#define STT_INVALIDAF 17
|
||||
#define STT_BADPKTVERSION 18
|
||||
#define STT_BADPKTLENGTH 19
|
||||
|
||||
typedef struct {
|
||||
int32_t EOR;
|
||||
|
||||
Reference in New Issue
Block a user