Skip to content

Commit

Permalink
Remove unnecessary whitelist and listener port
Browse files Browse the repository at this point in the history
Signed-off-by: Irene Bandera <[email protected]>
  • Loading branch information
irenebm committed Aug 30, 2024
1 parent dce676b commit fb57143
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -254,7 +254,6 @@ DiscoveryServerParticipant::reckon_participant_qos_(
auto descriptor_tmp =
create_descriptor<eprosima::fastdds::rtps::UDPv4TransportDescriptor>(
participant_configuration->whitelist);
// descriptor_tmp->interfaceWhiteList.push_back(address.ip());
descriptor = descriptor_tmp;
}

Expand All @@ -271,7 +270,6 @@ DiscoveryServerParticipant::reckon_participant_qos_(
auto descriptor_tmp =
create_descriptor<eprosima::fastdds::rtps::UDPv6TransportDescriptor>(
participant_configuration->whitelist);
// descriptor_tmp->interfaceWhiteList.push_back(address.ip());
descriptor = descriptor_tmp;
}

Expand All @@ -288,8 +286,6 @@ DiscoveryServerParticipant::reckon_participant_qos_(
auto descriptor_tmp =
create_descriptor<eprosima::fastdds::rtps::TCPv4TransportDescriptor>(
participant_configuration->whitelist);
descriptor_tmp->add_listener_port(0);
// descriptor_tmp->interfaceWhiteList.push_back(address.ip());

// Enable TLS
if (tls_config.is_active())
Expand All @@ -314,8 +310,6 @@ DiscoveryServerParticipant::reckon_participant_qos_(
auto descriptor_tmp =
create_descriptor<eprosima::fastdds::rtps::TCPv6TransportDescriptor>(
participant_configuration->whitelist);
// descriptor_tmp->add_listener_port(0);
descriptor_tmp->interfaceWhiteList.push_back(address.ip());

// Enable TLS
if (tls_config.is_active())
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,6 @@ InitialPeersParticipant::reckon_participant_qos_(
auto descriptor_tmp =
create_descriptor<eprosima::fastdds::rtps::UDPv4TransportDescriptor>(
participant_configuration->whitelist);
// descriptor_tmp->interfaceWhiteList.push_back(connection_address.ip());
descriptor = descriptor_tmp;

// To avoid creating a multicast transport in UDP when non listening addresses
Expand All @@ -257,7 +256,6 @@ InitialPeersParticipant::reckon_participant_qos_(
auto descriptor_tmp =
create_descriptor<eprosima::fastdds::rtps::UDPv6TransportDescriptor>(
participant_configuration->whitelist);
// descriptor_tmp->interfaceWhiteList.push_back(connection_address.ip());
descriptor = descriptor_tmp;

// To avoid creating a multicast transport in UDP when non listening addresses
Expand All @@ -280,8 +278,6 @@ InitialPeersParticipant::reckon_participant_qos_(
auto descriptor_tmp =
create_descriptor<eprosima::fastdds::rtps::TCPv4TransportDescriptor>(
participant_configuration->whitelist);
descriptor_tmp->add_listener_port(0);
// descriptor_tmp->interfaceWhiteList.push_back(address.ip());

// Enable TLS
if (tls_config.is_active())
Expand All @@ -306,8 +302,6 @@ InitialPeersParticipant::reckon_participant_qos_(
auto descriptor_tmp =
create_descriptor<eprosima::fastdds::rtps::TCPv6TransportDescriptor>(
participant_configuration->whitelist);
// descriptor_tmp->add_listener_port(0);
descriptor_tmp->interfaceWhiteList.push_back(connection_address.ip());

// Enable TLS
if (tls_config.is_active())
Expand Down

0 comments on commit fb57143

Please sign in to comment.