From 3fa4349a650ca9d94059b09e7d6fbae9ec62886f Mon Sep 17 00:00:00 2001 From: ionut matasaru Date: Mon, 24 Apr 2023 16:12:46 -0400 Subject: [PATCH] [Insights] Fixed StoreClient's read trace (FStoreCborClient::ReadTrace) incorectly using socket's local_endpoint insted of remote_endpoint. #rb trivial #fyi Johan.Berg #preflight skip [CL 25170298 by ionut matasaru in ue5-main branch] --- .../Developer/TraceAnalysis/Private/Store/StoreClient.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engine/Source/Developer/TraceAnalysis/Private/Store/StoreClient.cpp b/Engine/Source/Developer/TraceAnalysis/Private/Store/StoreClient.cpp index efa62b439e99..479eed39ee02 100644 --- a/Engine/Source/Developer/TraceAnalysis/Private/Store/StoreClient.cpp +++ b/Engine/Source/Developer/TraceAnalysis/Private/Store/StoreClient.cpp @@ -323,7 +323,7 @@ FTraceDataStream* FStoreCborClient::ReadTrace(uint32 Id) return nullptr; } - asio::ip::address ServerAddr = Socket.local_endpoint().address(); + asio::ip::address ServerAddr = Socket.remote_endpoint().address(); asio::ip::tcp::endpoint Endpoint(ServerAddr, uint16(SenderPort)); asio::error_code ErrorCode;