cmdmon: extend local command to match local directive

This commit is contained in:
Miroslav Lichvar
2016-04-07 16:33:23 +02:00
parent 5084a8b342
commit 53b15bd5c7
7 changed files with 37 additions and 29 deletions

View File

@@ -93,7 +93,8 @@
#define REQ_REFRESH 53
#define REQ_SERVER_STATS 54
#define REQ_CLIENT_ACCESSES_BY_INDEX2 55
#define N_REQUEST_TYPES 56
#define REQ_LOCAL2 56
#define N_REQUEST_TYPES 57
/* Structure used to exchange timevals independent on size of time_t */
typedef struct {
@@ -211,6 +212,8 @@ typedef struct {
typedef struct {
int32_t on_off;
int32_t stratum;
Float distance;
int32_t orphan;
int32_t EOR;
} REQ_Local;