From a62ed36dfa75c4d4c2329aa86111df8cda5be2ff Mon Sep 17 00:00:00 2001 From: Irene Bandera Date: Mon, 2 Sep 2024 16:46:25 +0200 Subject: [PATCH] Remove unnecessary whitelist and listener port Signed-off-by: Irene Bandera --- .../src/cpp/participant/rtps/DiscoveryServerParticipant.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/ddspipe_participants/src/cpp/participant/rtps/DiscoveryServerParticipant.cpp b/ddspipe_participants/src/cpp/participant/rtps/DiscoveryServerParticipant.cpp index 2aa6036d..87bea8ca 100644 --- a/ddspipe_participants/src/cpp/participant/rtps/DiscoveryServerParticipant.cpp +++ b/ddspipe_participants/src/cpp/participant/rtps/DiscoveryServerParticipant.cpp @@ -254,7 +254,6 @@ DiscoveryServerParticipant::reckon_participant_attributes_( auto descriptor_tmp = create_descriptor( configuration->whitelist); - // descriptor_tmp->interfaceWhiteList.push_back(address.ip()); descriptor = descriptor_tmp; } @@ -271,7 +270,6 @@ DiscoveryServerParticipant::reckon_participant_attributes_( auto descriptor_tmp = create_descriptor( configuration->whitelist); - // descriptor_tmp->interfaceWhiteList.push_back(address.ip()); descriptor = descriptor_tmp; } @@ -288,8 +286,6 @@ DiscoveryServerParticipant::reckon_participant_attributes_( auto descriptor_tmp = create_descriptor( configuration->whitelist); - descriptor_tmp->add_listener_port(0); - // descriptor_tmp->interfaceWhiteList.push_back(address.ip()); // Enable TLS if (tls_config.is_active()) @@ -314,8 +310,6 @@ DiscoveryServerParticipant::reckon_participant_attributes_( auto descriptor_tmp = create_descriptor( configuration->whitelist); - // descriptor_tmp->add_listener_port(0); - descriptor_tmp->interfaceWhiteList.push_back(address.ip()); // Enable TLS if (tls_config.is_active())