diff options
author | Christian Weisgerber <naddy@FreeBSD.org> | 2016-04-02 16:04:34 +0000 |
---|---|---|
committer | Christian Weisgerber <naddy@FreeBSD.org> | 2016-04-02 16:04:34 +0000 |
commit | 2728a66081e1f584e73b305239b1e5796ac3deff (patch) | |
tree | f56319ff72613b1128162a1b97e8691c9f17a10b /net/openntpd/files/patch-compat_adjfreq__freebsd.c | |
parent | During the exp-run in bug 208158, it was found that www/node gives (diff) |
Update to 5.9p1. Notable changes:
* The rtable option was removed from server and servers. Users of
"server * rtable X" will need to switch to launching ntpd with
# setfib -F X /usr/sbin/ntpd
* Various improvements to the HTTPS constraint feature (requires
LibreSSL).
This port reenables rtable support in the listen option on FreeBSD.
Relnotes: http://www.openntpd.org/txt/release-5.9p1.txt
Notes
Notes:
svn path=/head/; revision=412413
Diffstat (limited to 'net/openntpd/files/patch-compat_adjfreq__freebsd.c')
-rw-r--r-- | net/openntpd/files/patch-compat_adjfreq__freebsd.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/net/openntpd/files/patch-compat_adjfreq__freebsd.c b/net/openntpd/files/patch-compat_adjfreq__freebsd.c deleted file mode 100644 index e0e881df87fb..000000000000 --- a/net/openntpd/files/patch-compat_adjfreq__freebsd.c +++ /dev/null @@ -1,23 +0,0 @@ ---- compat/adjfreq_freebsd.c.orig 2015-03-12 04:42:13 UTC -+++ compat/adjfreq_freebsd.c -@@ -57,3 +57,20 @@ adjfreq(const int64_t *freq, int64_t *ol - - return 0; - } -+ -+/* -+ * The RTC is only updated if the clock is not marked as unsynced. -+ */ -+ -+void -+update_status(int synced) -+{ -+ struct timex txc = { 0 }; -+ -+ txc.modes = MOD_STATUS; -+ if (!synced) -+ txc.status = STA_UNSYNC; -+ if (ntp_adjtime(&txc) == -1) -+ log_warn("ntp_adjtime (3) failed"); -+ return; -+} |