Skip to content

Commit

Permalink
Refs #20179: Solve conflicts
Browse files Browse the repository at this point in the history
Signed-off-by: Jesus Perez <jesusperez@eprosima.com>
  • Loading branch information
jepemi committed Mar 7, 2024
1 parent 95d7ba1 commit 8c1bfe5
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 26 deletions.
16 changes: 1 addition & 15 deletions src/cpp/rtps/transport/TCPTransportInterface.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,6 @@ void TCPTransportInterface::clean()
}
}

<<<<<<< HEAD
if (io_service_thread_)
=======
if (initial_peer_local_locator_socket_)
{
if (initial_peer_local_locator_socket_->is_open())
Expand All @@ -218,8 +215,7 @@ void TCPTransportInterface::clean()
initial_peer_local_locator_socket_.reset();
}

if (io_service_thread_.joinable())
>>>>>>> b43f3a065 (TCP unique client announced local port (#4216))
if (io_service_thread_)
{
io_service_.stop();
io_service_thread_->join();
Expand Down Expand Up @@ -1699,15 +1695,6 @@ void TCPTransportInterface::update_network_interfaces()
// TODO(jlbueno)
}

<<<<<<< HEAD
=======
bool TCPTransportInterface::is_localhost_allowed() const
{
Locator local_locator;
fill_local_ip(local_locator);
return is_locator_allowed(local_locator);
}

void TCPTransportInterface::fill_local_physical_port(
Locator& locator) const
{
Expand All @@ -1721,7 +1708,6 @@ void TCPTransportInterface::fill_local_physical_port(
}
}

>>>>>>> b43f3a065 (TCP unique client announced local port (#4216))
} // namespace rtps
} // namespace fastrtps
} // namespace eprosima
5 changes: 0 additions & 5 deletions src/cpp/rtps/transport/TCPTransportInterface.h
Original file line number Diff line number Diff line change
Expand Up @@ -430,18 +430,13 @@ class TCPTransportInterface : public TransportInterface
void keep_alive();

void update_network_interfaces() override;
<<<<<<< HEAD
=======

bool is_localhost_allowed() const override;

/**
* Method to fill local locator physical port.
* @param locator locator to be filled.
*/
void fill_local_physical_port(
Locator& locator) const;
>>>>>>> b43f3a065 (TCP unique client announced local port (#4216))
};

} // namespace rtps
Expand Down
6 changes: 0 additions & 6 deletions test/unittest/transport/TCPv6Tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,8 @@
#include <fastrtps/transport/TCPv6TransportDescriptor.h>
#include <fastrtps/rtps/network/NetworkFactory.h>
#include <fastrtps/utils/Semaphore.h>
<<<<<<< HEAD
#include <fastrtps/utils/IPLocator.h>
=======

#include <MockReceiverResource.h>
#include "mock/MockTCPv6Transport.h"
#include <rtps/network/NetworkFactory.h>
>>>>>>> b43f3a065 (TCP unique client announced local port (#4216))
#include <rtps/transport/TCPv6Transport.h>

using namespace eprosima::fastrtps::rtps;
Expand Down

0 comments on commit 8c1bfe5

Please sign in to comment.