Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/usr.sbin/sntp Fix some nits.
details: https://anonhg.NetBSD.org/src/rev/a16d0833b200
branches: trunk
changeset: 555958:a16d0833b200
user: wiz <wiz%NetBSD.org@localhost>
date: Fri Dec 05 00:07:12 2003 +0000
description:
Fix some nits.
XXX: This man page talks about msntp, not sntp....
diffstat:
usr.sbin/sntp/sntp.1 | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
diffs (57 lines):
diff -r a53a10c69ee6 -r a16d0833b200 usr.sbin/sntp/sntp.1
--- a/usr.sbin/sntp/sntp.1 Thu Dec 04 23:59:50 2003 +0000
+++ b/usr.sbin/sntp/sntp.1 Fri Dec 05 00:07:12 2003 +0000
@@ -183,7 +183,7 @@
host is specified and 300 otherwise.
.TP
.BI \-x " separation"
-causes the program to run as a daemon (i.e. forever), and to estimate and
+causes the program to run as a daemon (i.e. forever), and to estimate and
correct for the clock drift.
.I separation
sets the minimum time between calls to the server in minutes if a NTP host is
@@ -204,7 +204,7 @@
restart the data,
.I msntp
must be restarted reasonably soon after it died (within a few times the value of
-.IR separation ),
+.IR separation ) ,
with the same value of the
.B \-c
option, the same value of
@@ -240,7 +240,7 @@
In update mode,
.B maxerr
must be less than
-.BR prompt.
+.BR prompt .
.IP
In daemon mode (i.e. when
.B \-x
@@ -264,7 +264,7 @@
as well as the current error; this will probably fail if the local clock is
reset while it is running. For example:
.IP
-.B msntp -x ntpserver.somewhere > output 2>\&1 \&
+.B msntp -x ntpserver.somewhere > output 2>\*[Am]1 \*[Am]
.PP
With suitable privilege, it can be run as a command or in a
.I cron
@@ -278,7 +278,7 @@
.PP
It can also be run as a daemon to keep the local clock in step. For example:
.IP
-.B msntp -a -x ntpserver.somewhere > output 2>\&1 \&
+.B msntp -a -x ntpserver.somewhere > output 2>\*[Am]1 \*[Am]
.PP
More information on how to use this utility is given in the
.I README
@@ -291,7 +291,7 @@
status for success, and a non-zero one otherwise. When used as a daemon
(either client or server), it does not return except after a serious error.
.SH BUGS
-The program implements the SNTP protocol, and does not provide all NTP
+The program implements the SNTP protocol, and does not provide all NTP
facilities. In particular, it contains no checks against any form of spoofing.
If this is a serious concern, some network security mechanism (like a firewall
or even just
Home |
Main Index |
Thread Index |
Old Index