ntp-4.2.4p7-getprecision.patch 559 B

12345678910111213
  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 */