diff options
author | cy <cy@FreeBSD.org> | 2017-04-06 06:11:04 +0000 |
---|---|---|
committer | cy <cy@FreeBSD.org> | 2017-04-06 06:11:04 +0000 |
commit | d9f34f0ad2cfa373b0754ad830057dbe9ab31150 (patch) | |
tree | 424dbf4df59d46dc3306c1933757b18184db7cf7 /usr.sbin | |
parent | 2f2c1041104aa31cae3dc733e0cecd03a299f0eb (diff) | |
download | FreeBSD-src-d9f34f0ad2cfa373b0754ad830057dbe9ab31150.zip FreeBSD-src-d9f34f0ad2cfa373b0754ad830057dbe9ab31150.tar.gz |
MFC r314946:
Configure leap-second smearing (always).
Leap-second smearing is an experimental option that may be specified in
ntp.conf(5) and the -x option on the command line to spread the effect
of a leap-second over an interval as specified by the leapsmearinterval
config file statement. Recommended values are between 7200 (2 hours) and
86400 (24 hours).
It is advised that leap-second smearing not be used for public NTP
servers (https://www.meinbergglobal.com/download/burnicki/Leap\
%20Second%20Smearing%20With%20NTP.pdf). It is also advised that NTP
clients not use a mix of NTP servers using leap-second smearing with
NTP servers not using leap-second smearing as that could cause
undefined client behaviour.
Leap-second smearing was committed to ports net/ntp and net/ntp-devel
by r426825 on 2016-11-22.
Suggested by: des
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ntp/config.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/ntp/config.h b/usr.sbin/ntp/config.h index baaeff4..3cc4dbd 100644 --- a/usr.sbin/ntp/config.h +++ b/usr.sbin/ntp/config.h @@ -1336,7 +1336,7 @@ #define LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE 1 /* leap smear mechanism */ -/* #undef LEAP_SMEAR */ +#define LEAP_SMEAR 1 /* Define to any value to include libseccomp sandboxing. */ /* #undef LIBSECCOMP */ |