summaryrefslogtreecommitdiff
path: root/data/templates/chrony
diff options
context:
space:
mode:
authorNicolas Fort <nicolasfort1988@gmail.com>2023-07-06 17:40:37 +0000
committerNicolas Fort <nicolasfort1988@gmail.com>2023-07-25 09:35:52 +0000
commit5f2e9cb81d89a5cfecbac01bec054b3ba4e8dff5 (patch)
tree3c8a963489ad77e35b7c30be55145f0980c0f7ed /data/templates/chrony
parente8ff7aa564b03c6338b2c053f3c24a08fd2cf323 (diff)
downloadvyos-1x-5f2e9cb81d89a5cfecbac01bec054b3ba4e8dff5.tar.gz
vyos-1x-5f2e9cb81d89a5cfecbac01bec054b3ba4e8dff5.zip
T5154: NTP: allow maximum of one ipv4 and one ipv6 address on parameter <listen-address>. Also allow only one single value <interface>.
Diffstat (limited to 'data/templates/chrony')
-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 %}