diff options
Diffstat (limited to 'daemons/gptp/common/ieee1588port.cpp')
-rw-r--r-- | daemons/gptp/common/ieee1588port.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/daemons/gptp/common/ieee1588port.cpp b/daemons/gptp/common/ieee1588port.cpp index 21bf816f..416b9be1 100644 --- a/daemons/gptp/common/ieee1588port.cpp +++ b/daemons/gptp/common/ieee1588port.cpp @@ -59,6 +59,7 @@ OSThreadExitCode watchNetLinkWrapper(void *arg) IEEE1588Port *port; port = (IEEE1588Port *) arg; + port->link_thread->setName("gPTPLinkWatch"); if (port->watchNetlink() == NULL) return osthread_ok; else @@ -70,6 +71,7 @@ OSThreadExitCode openPortWrapper(void *arg) IEEE1588Port *port; port = (IEEE1588Port *) arg; + port->listening_thread->setName("gPTPListener"); if (port->openPort(port) == NULL) return osthread_ok; else @@ -177,6 +179,8 @@ IEEE1588Port::IEEE1588Port(IEEE1588PortInit_t *portInit) pdelay_count = 0; sync_count = 0; + _peer_offset_init = false; + if (testMode) { if (isGM) { avbSyncState = 1; |