mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-07 08:55:06 -05:00
cmdmon: define new types for CLIENT_ACCESSES_BY_INDEX command
There was an incompatible change in the client access report. To avoid bumping the protocol version drop support for the original request/reply types and define new CLIENT_ACCESSES_BY_INDEX2 types as a newer version of the command.
This commit is contained in:
6
candm.h
6
candm.h
@@ -92,7 +92,8 @@
|
||||
#define REQ_SMOOTHTIME 52
|
||||
#define REQ_REFRESH 53
|
||||
#define REQ_SERVER_STATS 54
|
||||
#define N_REQUEST_TYPES 55
|
||||
#define REQ_CLIENT_ACCESSES_BY_INDEX2 55
|
||||
#define N_REQUEST_TYPES 56
|
||||
|
||||
/* Special utoken value used to log on with first exchange being the
|
||||
password. (This time value has long since gone by) */
|
||||
@@ -435,7 +436,8 @@ typedef struct {
|
||||
#define RPY_ACTIVITY 12
|
||||
#define RPY_SMOOTHING 13
|
||||
#define RPY_SERVER_STATS 14
|
||||
#define N_REPLY_TYPES 15
|
||||
#define RPY_CLIENT_ACCESSES_BY_INDEX2 15
|
||||
#define N_REPLY_TYPES 16
|
||||
|
||||
/* Status codes */
|
||||
#define STT_SUCCESS 0
|
||||
|
||||
Reference in New Issue
Block a user