Browse Source

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.
OPENBSD_4_6
henning 15 years ago
parent
commit
975a1387cb
1 changed files with 1 additions and 6 deletions
  1. +1
    -6
      src/usr.sbin/ntpd/ntp.c

+ 1
- 6
src/usr.sbin/ntpd/ntp.c View File

@ -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 <henning@openbsd.org>
@ -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)


Loading…
Cancel
Save