summaryrefslogtreecommitdiffstats
path: root/contrib/ntp/ntpdate
diff options
context:
space:
mode:
authorroberto <roberto@FreeBSD.org>2002-11-04 19:36:11 +0000
committerroberto <roberto@FreeBSD.org>2002-11-04 19:36:11 +0000
commita85d9ae25e8e8696677bc30feb6eaf7fc150e529 (patch)
tree5071c8dbfd7605eec15909cabca2296957573ac7 /contrib/ntp/ntpdate
parent8d541346f2b91896a9ef53cafe2b81898978ccf3 (diff)
downloadFreeBSD-src-a85d9ae25e8e8696677bc30feb6eaf7fc150e529.zip
FreeBSD-src-a85d9ae25e8e8696677bc30feb6eaf7fc150e529.tar.gz
Virgin import of ntpd 4.1.1b
Diffstat (limited to 'contrib/ntp/ntpdate')
-rw-r--r--contrib/ntp/ntpdate/ntpdate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ntp/ntpdate/ntpdate.c b/contrib/ntp/ntpdate/ntpdate.c
index db82375..24e2bc8 100644
--- a/contrib/ntp/ntpdate/ntpdate.c
+++ b/contrib/ntp/ntpdate/ntpdate.c
@@ -1248,7 +1248,7 @@ clock_adjust(void)
absoffset = server->soffset;
if (absoffset < 0)
absoffset = -absoffset;
- dostep = (absoffset >= NTPDATE_THRESHOLD);
+ dostep = (absoffset >= NTPDATE_THRESHOLD || absoffset < 0);
}
if (dostep) {
OpenPOWER on IntegriCloud