summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2022-01-16 12:16:34 +0100
committerGitHub <noreply@github.com>2022-01-16 12:16:34 +0100
commit56255941e584ea3dd45636899ef75b76a7e70d1a (patch)
tree42ab6c80af93f3d781c69f7b97dcecc26ecfce65
parent31a27136a499625f11b21eb611b437fcb2253edb (diff)
parent585042dba9d70d98da05158e7f2d94309a80e789 (diff)
downloadvyos-1x-56255941e584ea3dd45636899ef75b76a7e70d1a.tar.gz
vyos-1x-56255941e584ea3dd45636899ef75b76a7e70d1a.zip
Merge pull request #1172 from sever-sever/T4184-equ
ntp: T4184: Fix allow-clients address 1.3
-rw-r--r--data/templates/ntp/ntpd.conf.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/data/templates/ntp/ntpd.conf.tmpl b/data/templates/ntp/ntpd.conf.tmpl
index 38e68f24f..e7afcc16b 100644
--- a/data/templates/ntp/ntpd.conf.tmpl
+++ b/data/templates/ntp/ntpd.conf.tmpl
@@ -27,6 +27,7 @@ restrict -6 ::1
{% if allow_clients is defined and allow_clients.address is defined %}
# Allowed clients configuration
+restrict default ignore
{% for address in allow_clients.address %}
restrict {{ address|address_from_cidr }} mask {{ address|netmask_from_cidr }} nomodify notrap nopeer
{% endfor %}