On Thu, Mar 22, 2018 at 12:28:32AM +0100, Peter Schneider wrote:
>       strncpy(iface.name, iface_name, MAX_IFNAME_SIZE);
> +     if (transport_type == TRANS_IEEE_802_3) {
> +             strncpy(iface.ts_label, iface_name, MAX_IFNAME_SIZE);
> +     }
> +

The field, ts_label, should always be set, and so I changed this to be
like in clock.c:ensure_ts_label().

Thanks,
Richard

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to