[Git][NTPsec/ntpsec][master] 2 commits: Documentation polishing.

Eric S. Raymond gitlab at mg.gitlab.com
Thu Aug 17 10:40:42 UTC 2017


Eric S. Raymond pushed to branch master at NTPsec / ntpsec


Commits:
5d2b8d6c by Eric S. Raymond at 2017-08-16T22:57:22-04:00
Documentation polishing.

- - - - -
e2467632 by Eric S. Raymond at 2017-08-17T06:39:48-04:00
Document no-flag case of unrestrict.

- - - - -


2 changed files:

- NEWS
- docs/includes/access-commands.txt


Changes:

=====================================
NEWS
=====================================
--- a/NEWS
+++ b/NEWS
@@ -14,8 +14,11 @@ The code size has been further reduced, to 56KLOC.
 ntpmon now reports units on time figures.
 
 You can now turn off restriction flags with an _unrestrict_ statement
-that takes arguments exactly like a _restrict_. This is expected to be
-useful mainly with the "ntpq config" command.
+that takes arguments exactly like a _restrict_, except that with no
+argument flags it removes any filter rule associated with the
+address/mask (as opposed to creating one with unrestricted
+access). This is expected to be useful mainly with the "ntpq config"
+command.
 
 Builds are fully reproducible; see SOURCE_DATE_EPOCH and BUILD_EPOCH.
 


=====================================
docs/includes/access-commands.txt
=====================================
--- a/docs/includes/access-commands.txt
+++ b/docs/includes/access-commands.txt
@@ -110,9 +110,10 @@ unrestricted).
 
 [[restrict]]
 +unrestrict+ _address_[/_cidr_] [+mask+ _mask_] [+flag+ +...+]::
-   Like a +restrict+ command, but turns off the specified flags
-   rather than turning them on (expected to be useful mainly with ntpq
-   config). Use only on an address/mask or CIDR-format address
-   mentioned in a previous +restrict+ statement.
+   Like a +restrict+ command, but turns off the specified flags rather
+   than turning them on (expected to be useful mainly with ntpq
+   config). An unrestricr with no flags specified removes any rule
+   with matching address mask.  Use only on an address/mask or
+   CIDR-format address mentioned in a previous +restrict+ statement.
 
 // end



View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/756d982e1087b350808f07754dbc4f4dcd440081...e2467632d5ad5ebd82c07239eeaca30d5ecd1810

---
View it on GitLab: https://gitlab.com/NTPsec/ntpsec/compare/756d982e1087b350808f07754dbc4f4dcd440081...e2467632d5ad5ebd82c07239eeaca30d5ecd1810
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ntpsec.org/pipermail/vc/attachments/20170817/c619271f/attachment.html>


More information about the vc mailing list