summaryrefslogtreecommitdiffstats
path: root/usr.sbin/rdate
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-02-10 13:10:27 +0000
committerderaadt <deraadt@openbsd.org>2015-02-10 13:10:27 +0000
commit6de44abe135fff43ce965f6cab69127c4a736701 (patch)
treeeee05e464424874d3b77ad1934debf784db06b49 /usr.sbin/rdate
parentSanity check TZ environment variable; backport from sudo 1.8.12 (diff)
downloadwireguard-openbsd-6de44abe135fff43ce965f6cab69127c4a736701.tar.xz
wireguard-openbsd-6de44abe135fff43ce965f6cab69127c4a736701.zip
Document that RFC 5905 (ie. NTP protocol) has a limit which will be
hit before Y2038.
Diffstat (limited to 'usr.sbin/rdate')
-rw-r--r--usr.sbin/rdate/rdate.86
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/rdate/rdate.8 b/usr.sbin/rdate/rdate.8
index bf990d920a8..3dfe39aaeee 100644
--- a/usr.sbin/rdate/rdate.8
+++ b/usr.sbin/rdate/rdate.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rdate.8,v 1.36 2013/04/19 19:14:46 millert Exp $
+.\" $OpenBSD: rdate.8,v 1.37 2015/02/10 13:10:27 deraadt Exp $
.\" $NetBSD: rdate.8,v 1.4 1996/04/08 20:55:17 jtc Exp $
.\"
.\" Copyright (c) 1994 Christos Zoulas
@@ -29,7 +29,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: April 19 2013 $
+.Dd $Mdocdate: February 10 2015 $
.Dt RDATE 8
.Os
.Sh NAME
@@ -73,6 +73,8 @@ which does not correctly account for leap seconds.
.It Fl n
Use SNTP (RFC 5905) instead of the RFC 868 time protocol.
This is the default.
+This protocol counts 32 bits of seconds from January 1, 1900
+and will rollover in March 2036.
.It Fl o
Use an RFC 868 TCP protocol server instead of SNTP.
This protocol is obsolete as it is not capable of representing