replacing "," with " " to avoid timemaster to

consider it as a single interface

Due to this, when below is passed via THT,
PTPInterfaces: '0:eno1,0:eno2'

results in to
[ptp_domain 0]
interfaces eno1,eno2

timemaster[169838]: timemaster[532409.195]:
ioctl SIOCETHTOOL failed: No such device
timemaster[169838]: timemaster[532409.195]:
failed to get time stamping info for eno1,eno2
systemd[1]: timemaster.service: Main process
exited, code=exited, status=1/FAILURE
systemd[1]: timemaster.service: Failed with
result 'exit-code'.

Closes-Bug: #1934667
Change-Id: I3f3182929571ec723f4e1d5a8e283755b3e17f95
This commit is contained in:
Haresh Khandelwal 2021-07-06 12:53:21 +05:30
parent ccdb435c45
commit 34c0d5d62c
1 changed files with 1 additions and 1 deletions

View File

@ -12,7 +12,7 @@
{% for domain, nic_list in ptp_dict.items() %}
[ptp_domain {{ domain }}]
interfaces {% for nic in nic_list %}
{{ nic }}{% if not loop.last %},{% endif %}
{{ nic }}{% if not loop.last %} {% endif %}
{% endfor %}
{% endfor %}