File tree Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Expand file tree Collapse file tree 3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 5
5
#
6
6
# This script can be used under BSD-3-Clause license.
7
7
8
- T2M_DATE=" 29 Sep 2019 "
8
+ T2M_DATE=" 14 Jun 2021 "
9
9
T2M_NAME=rdate
10
- T2M_VERSION=1.10
10
+ T2M_VERSION=1.10.1
11
11
T2M_LEVEL=8
12
12
T2M_DESC=" set the system's date from a remote host"
13
13
Original file line number Diff line number Diff line change 1
1
.\" Text automatically generated by txt2man
2
- .TH rdate 8 "29 Sep 2019 " "rdate-1.10" "set the system's date from a remote host"
2
+ .TH rdate 8 "14 Jun 2021 " "rdate-1.10.1 " "set the system's date from a remote host"
3
3
.SH NAME
4
4
\fB rdate \fP - set the system's date from a remote host
5
5
\fB
@@ -48,11 +48,12 @@ parameter) or (recommended) check with a local radio controlled watch or phone s
48
48
.TP
49
49
.B
50
50
\fB -n \fP
51
- Use SNTP (old RFC 2030, currently RFC 5905) instead of the RFC 868 time protocol.
51
+ Use SNTP (old RFC 2030, currently RFC 5905) instead of the RFC 868 time protocol. SNTP will always
52
+ use UDP protocol and its default \fI port \fP is 123.
52
53
.TP
53
54
.B
54
55
\fB -o \fP \fI port \fP
55
- Use \fI port \fP '\fI port \fP ' instead of \fI port \fP 37.
56
+ Use \fI port \fP '\fI port \fP ' instead of \fI port \fP 37 (RFC 868) or 123 (SNTP, RFC 5905) .
56
57
.TP
57
58
.B
58
59
\fB -p \fP
@@ -64,7 +65,7 @@ Do not print the time.
64
65
.TP
65
66
.B
66
67
\fB -u \fP
67
- Use UDP instead of TCP as transport.
68
+ Use UDP instead of TCP as transport (for RFC 868 only; see \fB -n \fP option) .
68
69
.TP
69
70
.B
70
71
\fB -t \fP \fI msec \fP
Original file line number Diff line number Diff line change @@ -23,11 +23,12 @@ OPTIONS
23
23
using the RFC 868 protocol, use this option only if the server does not correctly account for leap
24
24
seconds. You can determine if you need this parameter if you sync against an NTP server (with this
25
25
parameter) or (recommended) check with a local radio controlled watch or phone service.
26
- -n Use SNTP (old RFC 2030, currently RFC 5905) instead of the RFC 868 time protocol.
27
- -o port Use port 'port' instead of port 37.
26
+ -n Use SNTP (old RFC 2030, currently RFC 5905) instead of the RFC 868 time protocol. SNTP will always
27
+ use UDP protocol and its default port is 123.
28
+ -o port Use port 'port' instead of port 37 (RFC 868) or 123 (SNTP, RFC 5905).
28
29
-p Do not set, just print the remote time.
29
30
-s Do not print the time.
30
- -u Use UDP instead of TCP as transport.
31
+ -u Use UDP instead of TCP as transport (for RFC 868 only; see -n option) .
31
32
-t msec Does not set time if it took more than msec milliseconds to fetch time from network.
32
33
-v Verbose output. Always show the adjustment.
33
34
You can’t perform that action at this time.
0 commit comments