[chrony-dev] [PATCH 1/4] Set maximum number of samples in manual list reply to 16

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


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 a044c80..262e0bd 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;
-- 
1.8.4.2


-- 
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/