]> git.ipfire.org Git - thirdparty/chrony.git/commit
ntp: prevent synchronization to itself
authorMiroslav Lichvar <mlichvar@redhat.com>
Thu, 5 Sep 2019 15:30:50 +0000 (17:30 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Thu, 12 Sep 2019 11:01:18 +0000 (13:01 +0200)
commit7a88e0a87b3b2d3efbd7726451ef71b257e27673
tree05021e1786adb713f4e8fa7fc11cd8e264fbf28c
parent64e21d6281ad2d4c845854ad59dcc4dad767fa59
ntp: prevent synchronization to itself

Improve the client's test D to compare the stratum, reference ID,
reference timestamp, and root delay from the received packet with its
own reference data in order to prevent it from synchronizing to itself,
e.g. due to a misconfiguration.
ntp_core.c