]> git.ipfire.org Git - thirdparty/chrony.git/commit
sourcestats: move maxdelaydevratio test to ntp_core
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 25 Aug 2017 10:29:13 +0000 (12:29 +0200)
committerMiroslav Lichvar <mlichvar@redhat.com>
Mon, 28 Aug 2017 12:27:14 +0000 (14:27 +0200)
commit51fe80ad95ab1eb33199a3be17c545debf730ab7
treedc6c4258e99ac36fd87da0ffc1e26cbfaa9a3624
parent7ffee735247353c6af7871d41dd064ffb80b064a
sourcestats: move maxdelaydevratio test to ntp_core

Instead of giving NTP-specific data to sourcestats in order to perform
the test, provide a function to get all data needed for the test in
ntp_core. While at it, improve the naming of variables.
ntp_core.c
sourcestats.c
sourcestats.h