ntp: process presend responses

Rework the code to make a real request for presend and process the
response, but don't accumulate the sample. This allows presend to work
in the interleaved client mode.
This commit is contained in:
Miroslav Lichvar
2016-11-23 15:43:07 +01:00
parent d75f6830f1
commit 2408bbcd77
2 changed files with 15 additions and 26 deletions

View File

@@ -203,8 +203,7 @@ when the polling interval is 512 seconds or more, an extra NTP client packet
will be sent to the server a short time (4 seconds) before making the actual
measurement.
+
The *presend* option cannot be used in the *peer* directive or with the
*xleave* option.
The *presend* option cannot be used in the *peer* directive.
*minstratum* _stratum_:::
When the synchronisation source is selected from available sources, sources
with lower stratum are normally slightly preferred. This option can be used to