From 3e23430926342994ef85e181f5b8c71b2c4a9401 Mon Sep 17 00:00:00 2001 From: Miroslav Lichvar Date: Thu, 23 Jan 2014 10:55:12 +0100 Subject: [PATCH] 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. --- candm.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/candm.h b/candm.h index 1ce3da95..dde526a8 100644 --- a/candm.h +++ b/candm.h @@ -587,7 +587,7 @@ typedef struct { RPY_ClientAccesses_Client clients[MAX_CLIENT_ACCESSES]; } RPY_ClientAccessesByIndex; -#define MAX_MANUAL_LIST_SAMPLES 32 +#define MAX_MANUAL_LIST_SAMPLES 16 typedef struct { Timeval when; -- 2.47.3