]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r335595-r335596
authorian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 4 Jul 2018 14:10:36 +0000 (14:10 +0000)
committerian <ian@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Wed, 4 Jul 2018 14:10:36 +0000 (14:10 +0000)
commit2c9cc6073c5dbeb765e794623d5a84d7503ae928
tree0bdeec70b39031b4c005273b71e203e25b4f66e0
parent3cf8f188e506ac0d07cd22f36c6dacbd5f841742
MFC r335595-r335596

r335595:
Modernize usage of "restrict" keyword in ntp.conf

It is no longer necessary to specify a -4/-6 flag on any ntp.conf
keyword.  The address type is inferred from the address itself as
necessary.  "restrict default" statements always apply to both address
families regardless of any -4/-6 flag that may be present.

So this change just tidies up our default config by removing the redundant
restrict -6 statement and comment, and by removing the -6 flag from the
restrict keyword that allows access from localhost.

This change was inspired by the patches provided in PRs 201803 and 210245,
and included some contrib/ntp code inspection to verify that the -4/-6
keywords are basically no-ops in all contexts now.

PR: 201803 210245
Differential Revision: https://reviews.freebsd.org/D15974

r335596:
Fix a comment; the ntp leaplist file is updated periodically, but not weekly
(it's only updated when a check shows it's within 30 days of expiring).

PR: 207138

git-svn-id: svn://svn.freebsd.org/base/stable/10@335950 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
etc/ntp.conf