summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-networking/recipes-support/ntp/ntp/ntp.conf6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta-networking/recipes-support/ntp/ntp/ntp.conf b/meta-networking/recipes-support/ntp/ntp/ntp.conf
index 676e186453..b59003092b 100644
--- a/meta-networking/recipes-support/ntp/ntp/ntp.conf
+++ b/meta-networking/recipes-support/ntp/ntp/ntp.conf
@@ -14,4 +14,8 @@ driftfile /var/lib/ntp/drift
14server 127.127.1.0 14server 127.127.1.0
15fudge 127.127.1.0 stratum 14 15fudge 127.127.1.0 stratum 14
16# Defining a default security setting 16# Defining a default security setting
17restrict default 17restrict -4 default notrap nomodify nopeer noquery
18restrict -6 default notrap nomodify nopeer noquery
19
20restrict 127.0.0.1 # allow local host
21restrict ::1 # allow local host