mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 20:25:06 -05:00
Replace number and total fields in cmdmon reply packet with padding
They were not used for anything and there is no plan to change that.
This commit is contained in:
5
client.c
5
client.c
@@ -1418,10 +1418,9 @@ submit_request(CMD_Request *request, CMD_Reply *reply, int *reply_auth_ok)
|
||||
|
||||
/* Good packet received, print out results */
|
||||
#if 0
|
||||
printf("Reply cmd=%d reply=%d stat=%d num=%d tot=%d seq=%d utok=%08lx tok=%d\n",
|
||||
printf("Reply cmd=%d reply=%d stat=%d seq=%d utok=%08lx tok=%d\n",
|
||||
ntohs(reply->command), ntohs(reply->reply),
|
||||
ntohs(reply->status), ntohs(reply->number),
|
||||
ntohs(reply->total),
|
||||
ntohs(reply->status),
|
||||
ntohl(reply->sequence),
|
||||
ntohl(reply->utoken),
|
||||
ntohl(reply->token));
|
||||
|
||||
Reference in New Issue
Block a user