From 975a1387cbefabec00a3f6da6cd07db8c9931043 Mon Sep 17 00:00:00 2001 From: henning <> Date: Thu, 11 Jun 2009 17:36:53 +0000 Subject: [PATCH] effectively un-do r1.111, it fucks machines with bad clocks royally. spotted the hard way by theo on armish, pinned to this changed by me. no cookie for ckuethe for not testing on machines with bad clocks. --- src/usr.sbin/ntpd/ntp.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/usr.sbin/ntpd/ntp.c b/src/usr.sbin/ntpd/ntp.c index 9ce967d3..9fd4f370 100644 --- a/src/usr.sbin/ntpd/ntp.c +++ b/src/usr.sbin/ntpd/ntp.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ntp.c,v 1.113 2009/06/06 18:47:19 ckuethe Exp $ */ +/* $OpenBSD: ntp.c,v 1.114 2009/06/11 17:36:53 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer @@ -532,11 +532,6 @@ priv_adjfreq(double offset) return; } - if (conf->filters & FILTER_ADJFREQ){ - conf->filters &= ~FILTER_ADJFREQ; - return; - } - conf->freq.samples++; if (conf->freq.samples <= 0)