Merge pull request #82 from eboasson/master
participants are not hidden built-in entities in built-in topics and should get an instance handle consistent with the DCPSParticipant topic
This commit is contained in:
commit
96da0c5555
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ static void entity_common_init (struct entity_common *e, const struct nn_guid *g
|
||||||
e->name = os_strdup (name ? name : "");
|
e->name = os_strdup (name ? name : "");
|
||||||
e->onlylocal = onlylocal;
|
e->onlylocal = onlylocal;
|
||||||
os_mutexInit (&e->lock);
|
os_mutexInit (&e->lock);
|
||||||
if (onlylocal || is_builtin_entityid (guid->entityid, vendorid))
|
if (onlylocal || is_builtin_endpoint (guid->entityid, vendorid))
|
||||||
{
|
{
|
||||||
e->iid = ddsi_iid_gen ();
|
e->iid = ddsi_iid_gen ();
|
||||||
*tk = NULL;
|
*tk = NULL;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue