mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:25:07 -05:00
client: fix printing of negative poll in sources report again
This was broken in commit 3f51805e62.
This commit is contained in:
2
client.c
2
client.c
@@ -1997,7 +1997,7 @@ process_cmd_sources(char *line)
|
||||
print_report("%c%c %-27s %2d %2d %3o %I %+S[%+S] +/- %S\n",
|
||||
mode_ch, state_ch, name,
|
||||
ntohs(reply.data.source_data.stratum),
|
||||
ntohs(reply.data.source_data.poll),
|
||||
(int16_t)ntohs(reply.data.source_data.poll),
|
||||
ntohs(reply.data.source_data.reachability),
|
||||
(unsigned long)ntohl(reply.data.source_data.since_sample),
|
||||
UTI_FloatNetworkToHost(reply.data.source_data.latest_meas),
|
||||
|
||||
Reference in New Issue
Block a user