Set maximum number of samples in manual list reply to 16

In chronyd the maximum number of manual samples is 16, so there is no
need to keep room for 32 samples in the command reply. This limits the
maximum assumed size of the reply packet.
This commit is contained in:
Miroslav Lichvar 2014-01-23 10:55:12 +01:00
parent b5658f4d9c
commit 3e23430926

View file

@ -587,7 +587,7 @@ typedef struct {
RPY_ClientAccesses_Client clients[MAX_CLIENT_ACCESSES]; RPY_ClientAccesses_Client clients[MAX_CLIENT_ACCESSES];
} RPY_ClientAccessesByIndex; } RPY_ClientAccessesByIndex;
#define MAX_MANUAL_LIST_SAMPLES 32 #define MAX_MANUAL_LIST_SAMPLES 16
typedef struct { typedef struct {
Timeval when; Timeval when;