Skip to content

Commit

Permalink
Refs 11001. Fix locator support check on ReceiverResource.
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <MiguelCompany@eprosima.com>
  • Loading branch information
MiguelCompany committed Mar 26, 2021
1 parent 07b867b commit 1114942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/rtps/network/ReceiverResource.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ReceiverResource::ReceiverResource(
};
LocatorMapsToManagedChannel = [&transport, locator](const Locator_t& locatorToCheck) -> bool
{
return transport.DoInputLocatorsMatch(locator, locatorToCheck);
return locator.kind == locatorToCheck.kind && transport.DoInputLocatorsMatch(locator, locatorToCheck);
};
}

Expand Down

0 comments on commit 1114942

Please sign in to comment.