mirror of
https://github.com/FastTunnel/FastTunnel.git
synced 2024-09-20 23:48:30 +08:00
Merge pull request #56 from FastTunnel/fix/CurrentProtocol
fix : display currect protocol
This commit is contained in:
commit
181c0fba94
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue
Block a user