]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: suggest clients to increase their polling interval
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 16 Jun 2017 10:16:17 +0000 (12:16 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Tue, 27 Jun 2017 13:29:01 +0000 (15:29 +0200)
commit018a1c42b050690ee57a21c35bee5cdaa0f110a2
treeeead4523940a035d77db7bb7d7e98f233927f463
parentc5735ebfe9065facc324b58ea4f94a9ea64c41cf
ntp: suggest clients to increase their polling interval

When the poll value in a client request is smaller than the server's NTP
rate limiting interval, set poll in the response to the rate limiting
interval to suggest the client to increase its polling interval.

This follows ntpd as a server. No current client implementation seems to
be increasing its interval by the poll, but it may change in the future.
clientlog.c
clientlog.h
ntp_core.c