Skip to content

Commit 054971a

Browse files
committed
For all discovered clients, we create DiscoveryParticipantChangeData with is_client_ = false and is_superclient_ = true
Signed-off-by: Raül <raulojeda@eprosima.com>
1 parent 125ca72 commit 054971a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/cpp/rtps/builtin/discovery/participant/PDPServerListener.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -191,9 +191,9 @@ void PDPServerListener::on_new_cache_change_added(
191191
change.get(),
192192
ddb::DiscoveryParticipantChangeData(
193193
participant_data.metatraffic_locators,
194-
is_client,
194+
false,
195195
is_local,
196-
participant_type_str == ParticipantType::SUPER_CLIENT)))
196+
is_client || participant_type_str == ParticipantType::SUPER_CLIENT)))
197197
{
198198
// Remove change from PDP reader history, but do not return it to the pool. From here on, the discovery
199199
// database takes ownership of the CacheChange_t. Henceforth there are no references to the change.

0 commit comments

Comments
 (0)