[ntp] improve documentation of restrict command

Miroslav Lichvar mlichvar at fedoraproject.org
Thu Feb 26 14:51:06 UTC 2015


commit 178d62bcfa24d826fb0fcf49ca8e5ee2e9dc1bb0
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Mon Feb 23 12:27:00 2015 +0100

    improve documentation of restrict command

 ntp-4.2.6p4-htmldoc.patch | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
---
diff --git a/ntp-4.2.6p4-htmldoc.patch b/ntp-4.2.6p4-htmldoc.patch
index 561dae7..0ae258a 100644
--- a/ntp-4.2.6p4-htmldoc.patch
+++ b/ntp-4.2.6p4-htmldoc.patch
@@ -1,3 +1,19 @@
+diff -up ntp-4.2.6p5/html/accopt.html.htmldoc ntp-4.2.6p5/html/accopt.html
+--- ntp-4.2.6p5/html/accopt.html.htmldoc	2009-12-09 08:36:36.000000000 +0100
++++ ntp-4.2.6p5/html/accopt.html	2015-02-10 14:55:24.467289637 +0100
+@@ -94,8 +94,10 @@ time) in log<sub>2</sub> s with default
+ 			
+ <dt id="restrict"><tt>restrict <i>address</i> [mask <i>mask</i>] [<i>flag</i>][...]</tt></dt>
+ <dd>The <tt><i>address</i></tt> argument expressed in dotted-quad form is the
+-	address of a host or network. Alternatively, the <tt><i>address</i></tt> argument
+-	can be a valid host DNS name. The <tt><i>mask</i></tt> argument expressed in
++	address of a host or network. Alternatively, the <tt><i>address</i></tt> argument can be a
++	valid host DNS name, but it must be resolvable at the time when <tt>ntpd</tt> is started and
++	if it's resolved to multiple addresses, only the first address will be added to the list.
++	The <tt><i>mask</i></tt> argument expressed in
+ 	dotted-quad form defaults to 255.255.255.255, meaning that the <tt><i>address</i></tt> is
+ 	treated as the address of an individual host. A default entry (address 0.0.0.0,
+ 	mask 0.0.0.0) is always included and is always the first entry in the list.
 diff -up ntp-4.2.6p5/html/authopt.html.htmldoc ntp-4.2.6p5/html/authopt.html
 --- ntp-4.2.6p5/html/authopt.html.htmldoc	2011-07-11 04:18:25.000000000 +0200
 +++ ntp-4.2.6p5/html/authopt.html	2013-03-28 18:04:38.581260191 +0100


More information about the scm-commits mailing list