ntp: change minimum allowed poll to -7

Change the minimum poll allowed in configuration from -6 to -7. This
matches some PTP profiles using 128 sync messages per second.
This commit is contained in:
Miroslav Lichvar
2022-07-18 13:11:27 +02:00
parent 4234732b08
commit 685d8f725b
2 changed files with 3 additions and 3 deletions

View File

@@ -267,7 +267,7 @@ static ARR_Instance broadcasts;
#define MAX_MAXDELAYDEVRATIO 1.0e6
/* Minimum and maximum allowed poll interval */
#define MIN_POLL -6
#define MIN_POLL -7
#define MAX_POLL 24
/* Enable sub-second polling intervals only when the peer delay is not