mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:45:07 -05:00
client: fix printing of negative poll in sources report
This commit is contained in:
2
candm.h
2
candm.h
@@ -518,7 +518,7 @@ typedef struct {
|
||||
|
||||
typedef struct {
|
||||
IPAddr ip_addr;
|
||||
uint16_t poll;
|
||||
int16_t poll;
|
||||
uint16_t stratum;
|
||||
uint16_t state;
|
||||
uint16_t mode;
|
||||
|
||||
4
client.c
4
client.c
@@ -1733,8 +1733,8 @@ process_cmd_sources(char *line)
|
||||
double orig_latest_meas, latest_meas, latest_meas_err;
|
||||
IPAddr ip_addr;
|
||||
uint32_t latest_meas_ago;
|
||||
uint16_t poll, stratum;
|
||||
uint16_t state, mode, flags, reachability;
|
||||
int16_t poll;
|
||||
uint16_t stratum, state, mode, flags, reachability;
|
||||
char hostname_buf[50];
|
||||
|
||||
/* Check whether to output verbose headers */
|
||||
|
||||
Reference in New Issue
Block a user