File tree Expand file tree Collapse file tree
src/cpp/rtps/builtin/discovery/database Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1155,7 +1155,7 @@ void DiscoveryDataBase::match_writer_reader_(
11551155
11561156 // If reader is virtual OR not local, do not exchange info. Servers do not redirect Data(p) of remote clients.
11571157 // Otherwise, writer needs all the info from this endpoint
1158- if (!reader_info.is_virtual () && reader_participant_info.is_local ())
1158+ if (!reader_info.is_virtual () && ( reader_participant_info.is_local () || writer_participant_info. is_superclient () ))
11591159 {
11601160 // Only if they do not have the info yet
11611161 if (!reader_participant_info.is_relevant_participant (writer_guid.guidPrefix ))
@@ -1235,7 +1235,7 @@ void DiscoveryDataBase::match_writer_reader_(
12351235
12361236 // If reader is external OR virtual, do not exchange info. Servers do not redirect Data(p) of remote clients.
12371237 // Otherwise, reader needs all the info from this endpoint
1238- if (reader_participant_info.is_local () && !reader_info.is_virtual ())
1238+ if (reader_participant_info.is_local () && ( !reader_info.is_virtual () || reader_participant_info. is_superclient () ))
12391239 {
12401240 // Only if they do not have the info yet
12411241 if (!writer_participant_info.is_relevant_participant (reader_guid.guidPrefix ))
You can’t perform that action at this time.
0 commit comments