]> git.ipfire.org Git - people/ms/ipfire-3.x.git/blob - ntp/patches/ntp-4.2.4p7-getprecision.patch
Merge remote-tracking branch 'stevee/plymouth-update'
[people/ms/ipfire-3.x.git] / ntp / patches / ntp-4.2.4p7-getprecision.patch
1 diff -up ntp-4.2.4p7/ntpd/ntp_proto.c.getprecision ntp-4.2.4p7/ntpd/ntp_proto.c
2 --- ntp-4.2.4p7/ntpd/ntp_proto.c.getprecision 2009-09-29 14:16:22.000000000 +0200
3 +++ ntp-4.2.4p7/ntpd/ntp_proto.c 2009-09-29 14:18:13.000000000 +0200
4 @@ -3099,7 +3099,7 @@ peer_unfit(
5 /*
6 * Find the precision of this particular machine
7 */
8 -#define MINSTEP 100e-9 /* minimum clock increment (s) */
9 +#define MINSTEP 10e-9 /* minimum clock increment (s) */
10 #define MAXSTEP 20e-3 /* maximum clock increment (s) */
11 #define MINLOOPS 5 /* minimum number of step samples */
12