From: Johan Lorensson Date: Thu, 9 Sep 2021 05:56:07 +0000 (+0200) Subject: Fix default IPC port for IPC server, TCP client mode. (#2557) X-Git-Tag: submit/tizen/20220302.040122~21^2^2~96 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=21ea2d84f94a18cc95f0f461a5e41623aacc83d5;p=platform%2Fcore%2Fdotnet%2Fdiagnostics.git Fix default IPC port for IPC server, TCP client mode. (#2557) --- diff --git a/src/Tools/dotnet-dsrouter/DiagnosticsServerRouterCommands.cs b/src/Tools/dotnet-dsrouter/DiagnosticsServerRouterCommands.cs index 038b2eb5a..0563cc3b4 100644 --- a/src/Tools/dotnet-dsrouter/DiagnosticsServerRouterCommands.cs +++ b/src/Tools/dotnet-dsrouter/DiagnosticsServerRouterCommands.cs @@ -208,6 +208,9 @@ namespace Microsoft.Diagnostics.Tools.DiagnosticsServerRouter } } + if (string.IsNullOrEmpty(ipcServer)) + ipcServer = GetDefaultIpcServerPath(logger); + var routerTask = DiagnosticsServerRouterRunner.runIpcServerTcpClientRouter(linkedCancelToken.Token, ipcServer, tcpClient, runtimeTimeout == Timeout.Infinite ? runtimeTimeout : runtimeTimeout * 1000, tcpClientRouterFactory, logger, Launcher); while (!linkedCancelToken.IsCancellationRequested)