client: fix printing of negative poll in sources report
This commit is contained in:
parent
cb74f3e7ad
commit
79ac20c161
2 changed files with 3 additions and 3 deletions
2
candm.h
2
candm.h
|
@ -518,7 +518,7 @@ typedef struct {
|
||||||
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
IPAddr ip_addr;
|
IPAddr ip_addr;
|
||||||
uint16_t poll;
|
int16_t poll;
|
||||||
uint16_t stratum;
|
uint16_t stratum;
|
||||||
uint16_t state;
|
uint16_t state;
|
||||||
uint16_t mode;
|
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;
|
double orig_latest_meas, latest_meas, latest_meas_err;
|
||||||
IPAddr ip_addr;
|
IPAddr ip_addr;
|
||||||
uint32_t latest_meas_ago;
|
uint32_t latest_meas_ago;
|
||||||
uint16_t poll, stratum;
|
int16_t poll;
|
||||||
uint16_t state, mode, flags, reachability;
|
uint16_t stratum, state, mode, flags, reachability;
|
||||||
char hostname_buf[50];
|
char hostname_buf[50];
|
||||||
|
|
||||||
/* Check whether to output verbose headers */
|
/* Check whether to output verbose headers */
|
||||||
|
|
Loading…
Reference in a new issue