From 710bae06f2fb88497146cf3ac1956f7b782814d0 Mon Sep 17 00:00:00 2001 From: Mahdi Jalali Date: Thu, 12 Jan 2023 17:15:59 +0330 Subject: [PATCH] fix : display currect protocol --- FastTunnel.Core/Handlers/LoginHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FastTunnel.Core/Handlers/LoginHandler.cs b/FastTunnel.Core/Handlers/LoginHandler.cs index 5bfeb9f..69cb211 100644 --- a/FastTunnel.Core/Handlers/LoginHandler.cs +++ b/FastTunnel.Core/Handlers/LoginHandler.cs @@ -107,7 +107,7 @@ public class LoginHandler : ILoginHandler logger.LogDebug($"SSH proxy success: {item.RemotePort} => {item.LocalIp}:{item.LocalPort}"); client.AddForward(forwardInfo); - await client.webSocket.SendCmdAsync(MessageType.Log, $" TCP | {server.ServerOption.CurrentValue.WebDomain}:{item.RemotePort} => {item.LocalIp}:{item.LocalPort}", CancellationToken.None); + await client.webSocket.SendCmdAsync(MessageType.Log, $" {item.Protocol} | {server.ServerOption.CurrentValue.WebDomain}:{item.RemotePort} => {item.LocalIp}:{item.LocalPort}", CancellationToken.None); } catch (Exception ex) {