summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-07-26 19:50:34 +0300
committerGitHub <noreply@github.com>2023-07-26 19:50:34 +0300
commitfc35434bfb0def50e5e492030451e035c80d153d (patch)
tree1ffb8efda349bf0da71ca47564084e94ae35b080 /data
parent6a1a687f8b8f4c60b6f3f124471f47663a737775 (diff)
parent5f2e9cb81d89a5cfecbac01bec054b3ba4e8dff5 (diff)
downloadvyos-1x-fc35434bfb0def50e5e492030451e035c80d153d.tar.gz
vyos-1x-fc35434bfb0def50e5e492030451e035c80d153d.zip
Merge pull request #2078 from nicolas-fort/T5154
T5154: NTP: allow maximum of one ipv4 and one ipv6 address on paramet…
Diffstat (limited to 'data')
-rw-r--r--data/templates/chrony/chrony.conf.j24
1 files changed, 1 insertions, 3 deletions
diff --git a/data/templates/chrony/chrony.conf.j2 b/data/templates/chrony/chrony.conf.j2
index 7a36fe69d..0daec8fb8 100644
--- a/data/templates/chrony/chrony.conf.j2
+++ b/data/templates/chrony/chrony.conf.j2
@@ -53,8 +53,6 @@ bindaddress {{ address }}
{% endfor %}
{% endif %}
{% if interface is vyos_defined %}
-{% for ifname in interface %}
-binddevice {{ ifname }}
-{% endfor %}
+binddevice {{ interface }}
{% endif %}
{% endif %}