mlichvar pushed to ntp (f21). "improve documentation of restrict command"

notifications at fedoraproject.org notifications at fedoraproject.org
Wed Apr 8 11:46:33 UTC 2015


>From 178d62bcfa24d826fb0fcf49ca8e5ee2e9dc1bb0 Mon Sep 17 00:00:00 2001
From: Miroslav Lichvar <mlichvar at redhat.com>
Date: Mon, 23 Feb 2015 12:27:00 +0100
Subject: improve documentation of restrict command


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
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/ntp.git/commit/?h=f21&id=178d62bcfa24d826fb0fcf49ca8e5ee2e9dc1bb0


More information about the scm-commits mailing list