[ntp] remove unnecessary IPv6 restrict line from default ntp.conf

Miroslav Lichvar mlichvar at fedoraproject.org
Mon Dec 9 16:14:40 UTC 2013


commit d20100f179d1362063672ef6bd8d1c2142691b8f
Author: Miroslav Lichvar <mlichvar at redhat.com>
Date:   Mon Dec 9 16:05:40 2013 +0100

    remove unnecessary IPv6 restrict line from default ntp.conf

 ntp.conf |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/ntp.conf b/ntp.conf
index baa57b3..376c635 100644
--- a/ntp.conf
+++ b/ntp.conf
@@ -6,13 +6,12 @@ driftfile VARNTP/drift
 # Permit time synchronization with our time source, but do not
 # permit the source to query or modify the service on this system.
 restrict default kod nomodify notrap nopeer noquery
-restrict -6 default kod nomodify notrap nopeer noquery
 
 # Permit all access over the loopback interface.  This could
 # be tightened as well, but to do so would effect some of
 # the administrative functions.
 restrict 127.0.0.1 
-restrict -6 ::1
+restrict ::1
 
 # Hosts on local network are less restricted.
 #restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap


More information about the scm-commits mailing list