Skip to content

Commit

Permalink
Apply suggestion
Browse files Browse the repository at this point in the history
Signed-off-by: Miguel Company <[email protected]>
  • Loading branch information
MiguelCompany authored Apr 4, 2024
1 parent f4a3b32 commit 5dc82f5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cpp/rtps/participant/RTPSParticipantImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -510,14 +510,14 @@ void RTPSParticipantImpl::setup_meta_traffic()
m_network_Factory.NormalizeLocators(m_att.builtin.metatrafficUnicastLocatorList);
}

createReceiverResources(m_att.builtin.metatrafficMulticastLocatorList, false, false, true);
createReceiverResources(m_att.builtin.metatrafficUnicastLocatorList, true, false, true);

if (is_intraprocess_only())
{
m_att.builtin.metatrafficUnicastLocatorList.clear();
}

createReceiverResources(m_att.builtin.metatrafficMulticastLocatorList, false, false, true);
createReceiverResources(m_att.builtin.metatrafficUnicastLocatorList, true, false, true);

// Check metatraffic multicast port
if (0 < m_att.builtin.metatrafficMulticastLocatorList.size() &&
m_att.builtin.metatrafficMulticastLocatorList.begin()->port != meta_multicast_port_for_check)
Expand Down

0 comments on commit 5dc82f5

Please sign in to comment.