summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorLucas Christian <lucas@lucasec.com>2024-11-25 22:01:34 -0800
committerLucas Christian <lucas@lucasec.com>2024-11-25 22:01:34 -0800
commit67f51b67416c84c23086f997954be1d51502637d (patch)
tree5f0e2d79fe33052feb5060d7d452470db24cef71 /data/templates
parentefd86e5cbaf2cae68e431b83f6ca6c0093672e89 (diff)
downloadvyos-1x-67f51b67416c84c23086f997954be1d51502637d.tar.gz
vyos-1x-67f51b67416c84c23086f997954be1d51502637d.zip
T6630: ntp: fix timestamp nested under ptp
Diffstat (limited to 'data/templates')
-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 %}