summaryrefslogtreecommitdiff
path: root/data/templates/ntp/ntp.conf.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/ntp/ntp.conf.tmpl')
-rw-r--r--data/templates/ntp/ntp.conf.tmpl6
1 files changed, 6 insertions, 0 deletions
diff --git a/data/templates/ntp/ntp.conf.tmpl b/data/templates/ntp/ntp.conf.tmpl
index df8157a41..bb0067bfb 100644
--- a/data/templates/ntp/ntp.conf.tmpl
+++ b/data/templates/ntp/ntp.conf.tmpl
@@ -36,4 +36,10 @@ interface ignore wildcard
{% for address in listen_address %}
interface listen {{ address }}
{% endfor %}
+interface listen 127.0.0.1
+interface listen ::1
+{% else %}
+interface ignore wildcard
+interface listen 127.0.0.1
+interface listen ::1
{% endif %}