summaryrefslogtreecommitdiff
path: root/data/templates/chrony
diff options
context:
space:
mode:
authorChristian Breunig <christian@breunig.cc>2024-12-02 19:48:56 +0100
committerGitHub <noreply@github.com>2024-12-02 19:48:56 +0100
commita4dfb3d45ed94a67eacf5c62a4901d918c72021d (patch)
tree193a5a4fc59f8e54e17833e6f315e474f11170e3 /data/templates/chrony
parentc887126ecd8208645766af701597934f5c011600 (diff)
parent67f51b67416c84c23086f997954be1d51502637d (diff)
downloadvyos-1x-a4dfb3d45ed94a67eacf5c62a4901d918c72021d.tar.gz
vyos-1x-a4dfb3d45ed94a67eacf5c62a4901d918c72021d.zip
Merge pull request #4208 from lucasec/t6630
T6630: ntp: fix timestamp nested under ptp
Diffstat (limited to 'data/templates/chrony')
-rw-r--r--data/templates/chrony/chrony.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/chrony/chrony.conf.j2 b/data/templates/chrony/chrony.conf.j2
index 2838f5524..cc80e4d64 100644
--- a/data/templates/chrony/chrony.conf.j2
+++ b/data/templates/chrony/chrony.conf.j2
@@ -67,9 +67,9 @@ binddevice {{ interface }}
{% endif %}
{% endif %}
-{% if ptp.timestamp.interface is vyos_defined %}
+{% if timestamp.interface is vyos_defined %}
# Enable hardware timestamping on the specified interfaces
-{% for iface, iface_config in ptp.timestamp.interface.items() %}
+{% for iface, iface_config in timestamp.interface.items() %}
{% if iface == "all" %}
{% set iface = "*" %}
{% endif %}