From: Harlan Stenn Date: Fri, 22 Sep 2006 21:12:19 +0000 (-0400) Subject: Dave fixed a bug in the pll/kernel control code, from a report by Joe Harvell X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bf0cb3ddec7018bad9ab82c14beea164309c024e;p=thirdparty%2Fntp.git Dave fixed a bug in the pll/kernel control code, from a report by Joe Harvell bk: 451451b3c4lIrpgq1ks8ZOENvDmZXw --- diff --git a/ntpd/ntp_loopfilter.c b/ntpd/ntp_loopfilter.c index ab7c1e030d..b12fccee1e 100644 --- a/ntpd/ntp_loopfilter.c +++ b/ntpd/ntp_loopfilter.c @@ -544,7 +544,8 @@ local_clock( * lead to overflow problems. This might occur if some misguided * lad set the step threshold to something ridiculous. */ - if (pll_control && kern_enable && clock_max < 0.5) { + if (pll_control && kern_enable && clock_max < 0.5 && + clock_max > 0) { /* * We initialize the structure for the ntp_adjtime()