File tree 2 files changed +8
-34
lines changed
2 files changed +8
-34
lines changed Original file line number Diff line number Diff line change @@ -1385,8 +1385,10 @@ void TCPTransportInterface::SocketAccepted(
1385
1385
channel_weak_ptr, rtcp_manager_weak_ptr));
1386
1386
1387
1387
EPROSIMA_LOG_INFO (RTCP, " Accepted connection (local: "
1388
- << local_endpoint_to_locator (channel) << " , remote: "
1389
- << remote_endpoint_to_locator (channel) << " )" );
1388
+ << channel->local_endpoint ().address () << " :"
1389
+ << channel->local_endpoint ().port () << " ), remote: "
1390
+ << channel->remote_endpoint ().address () << " :"
1391
+ << channel->remote_endpoint ().port () << " )" );
1390
1392
}
1391
1393
else
1392
1394
{
@@ -1431,8 +1433,10 @@ void TCPTransportInterface::SecureSocketAccepted(
1431
1433
channel_weak_ptr, rtcp_manager_weak_ptr));
1432
1434
1433
1435
EPROSIMA_LOG_INFO (RTCP, " Accepted connection (local: "
1434
- << local_endpoint_to_locator (secure_channel) << " , remote: "
1435
- << remote_endpoint_to_locator (secure_channel) << " )" );
1436
+ << socket->lowest_layer ().local_endpoint ().address () << " :"
1437
+ << socket->lowest_layer ().local_endpoint ().port () << " ), remote: "
1438
+ << socket->lowest_layer ().remote_endpoint ().address () << " :"
1439
+ << socket->lowest_layer ().remote_endpoint ().port () << " )" );
1436
1440
}
1437
1441
else
1438
1442
{
Original file line number Diff line number Diff line change @@ -327,36 +327,6 @@ if(NOT DISABLE_UDPV6_TESTS)
327
327
set (TRANSPORT_XFAIL_LIST ${TRANSPORT_XFAIL_LIST} XFAIL_TCP6)
328
328
endif ()
329
329
330
- add_executable (test_UDPv4Tests ${TEST_UDPV4TESTS_SOURCE} )
331
- target_compile_definitions (test_UDPv4Tests PRIVATE
332
- BOOST_ASIO_STANDALONE
333
- ASIO_STANDALONE
334
- $<$<AND :$<NOT :$<BOOL :${WIN32} >>,$<STREQUAL :"${CMAKE_BUILD_TYPE} " ,"Debug" >>:__DEBUG>
335
- $<$<BOOL :${INTERNAL_DEBUG} >:__INTERNALDEBUG> # Internal debug activated.
336
- )
337
- target_include_directories (test_UDPv4Tests PRIVATE
338
- ${Asio_INCLUDE_DIR}
339
- ${PROJECT_SOURCE_DIR} /test /mock/rtps/ParticipantProxyData
340
- ${PROJECT_SOURCE_DIR} /test /mock/dds/QosPolicies
341
- ${PROJECT_SOURCE_DIR} /test /mock/rtps/MessageReceiver
342
- ${PROJECT_SOURCE_DIR} /test /mock/rtps/ReceiverResource
343
- ${PROJECT_SOURCE_DIR} /include ${PROJECT_BINARY_DIR} /include
344
- ${PROJECT_SOURCE_DIR} /src/cpp
345
- $<$<BOOL :${ANDROID} >:${ANDROID_IFADDRS_INCLUDE_DIR} >
346
- )
347
- target_link_libraries (test_UDPv4Tests
348
- fastcdr
349
- GTest::gtest
350
- ${MOCKS} )
351
- if (QNX)
352
- target_link_libraries (test_UDPv4Tests socket)
353
- endif ()
354
- if (MSVC OR MSVC_IDE )
355
- target_link_libraries (test_UDPv4Tests ${PRIVACY} iphlpapi Shlwapi)
356
- else ()
357
- target_link_libraries (test_UDPv4Tests ${PRIVACY} )
358
- endif ()
359
- add_gtest(test_UDPv4Tests SOURCES ${TEST_UDPV4TESTS_SOURCE} )
360
330
set (TRANSPORT_XFAIL_LIST ${TRANSPORT_XFAIL_LIST} XFAIL_TEST_UDP4)
361
331
362
332
add_executable (TCPv4Tests ${TCPV4TESTS_SOURCE} )
You can’t perform that action at this time.
0 commit comments