Merge "PTP: specify ethernet interfaces in the ptp4l.conf file."

This commit is contained in:
Zuul 2018-09-11 20:15:18 +00:00 committed by Gerrit Code Review
commit 3ff7dd629c
2 changed files with 4 additions and 2 deletions

View File

@ -1,2 +1,2 @@
SRC_DIR="src" SRC_DIR="src"
TIS_PATCH_VER=63 TIS_PATCH_VER=64

View File

@ -96,12 +96,14 @@ manufacturerIdentity 00:00:00
userDescription ; userDescription ;
timeSource 0xA0 timeSource 0xA0
<%- if scope['platform::ptp::transport'] == 'udp' -%>
[<%= @slave_interface %>] [<%= @slave_interface %>]
<%- if scope['platform::ptp::transport'] == 'udp' -%>
network_transport UDPv<%= @slave_subnet %> network_transport UDPv<%= @slave_subnet %>
<%- end -%>
<%- if @slave_only == false -%> <%- if @slave_only == false -%>
[<%= @master_interface %>] [<%= @master_interface %>]
<%- if scope['platform::ptp::transport'] == 'udp' -%>
network_transport UDPv<%= @master_subnet %> network_transport UDPv<%= @master_subnet %>
<%- end -%> <%- end -%>
<%- end -%> <%- end -%>