diff --git a/pmc_common.c b/pmc_common.c
index 91fffb3..850544c 100644
--- a/pmc_common.c
+++ b/pmc_common.c
@@ -93,6 +93,10 @@ struct pmc *pmc_create(struct config *cfg, enum 
transport_type transport_type,
        }
 
        strncpy(iface.name, iface_name, MAX_IFNAME_SIZE);
+       if (transport_type == TRANS_IEEE_802_3) {
+               strncpy(iface.ts_label, iface_name, MAX_IFNAME_SIZE);
+       }
+
        if (transport_open(pmc->transport, &iface,
                           &pmc->fdarray, TS_SOFTWARE)) {
                pr_err("failed to open transport");
-- 
2.14.3

------------------------------------------------------------------------------
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
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to