summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntpd.h
diff options
context:
space:
mode:
authorMichael Shalayeff <mickey@cvs.openbsd.org>2004-12-06 20:57:18 +0000
committerMichael Shalayeff <mickey@cvs.openbsd.org>2004-12-06 20:57:18 +0000
commit06cd0b351bf2244fbb9c05110c01487916237fcc (patch)
tree42787511fbb937afc5d65810b88464057e96ac1d /usr.sbin/ntpd/ntpd.h
parent8f1352968e2e5e627da467c758f82f1fd3d49986 (diff)
do not log tiny local clock drifts; w/ help from Joerg Sonnenberger <joerg@britannica.bec.de>; henning@ ok
Diffstat (limited to 'usr.sbin/ntpd/ntpd.h')
-rw-r--r--usr.sbin/ntpd/ntpd.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ntpd/ntpd.h b/usr.sbin/ntpd/ntpd.h
index 995341bca59..120ecabd0f0 100644
--- a/usr.sbin/ntpd/ntpd.h
+++ b/usr.sbin/ntpd/ntpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: ntpd.h,v 1.45 2004/12/06 16:52:33 mickey Exp $ */
+/* $OpenBSD: ntpd.h,v 1.46 2004/12/06 20:57:17 mickey Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -52,6 +52,7 @@
#define QUERYTIME_MAX 15 /* single query might take n secs max */
#define OFFSET_ARRAY_SIZE 8
#define SETTIME_MIN_OFFSET 180 /* min offset for settime at start */
+#define LOG_NEGLIGEE 128 /* negligible drift to not log (ms) */
enum client_state {
STATE_NONE,