更改配色

This commit is contained in:
snltty
2024-10-29 21:26:17 +08:00
parent 6d69771576
commit b23a2db947
2 changed files with 6 additions and 2 deletions

View File

@@ -256,7 +256,8 @@ namespace linker.tunnel
try
{
ITunnelTransport _transports = transports.FirstOrDefault(c => c.Name == tunnelTransportInfo.TransportName && c.ProtocolType == tunnelTransportInfo.TransportType);
if (_transports != null)
TunnelTransportItemInfo item = tunnelAdapter.GetTunnelTransports().FirstOrDefault(c => c.Name == tunnelTransportInfo.TransportName && c.Disabled == false);
if (_transports != null && item != null)
{
OnConnectBegin(tunnelTransportInfo);
ParseRemoteEndPoint(tunnelTransportInfo);
@@ -268,6 +269,7 @@ namespace linker.tunnel
else
{
connectingDic.TryRemove(tunnelTransportInfo.Remote.MachineId, out _);
_ = tunnelAdapter.SendConnectFail(tunnelTransportInfo);
}
}
catch (Exception ex)
@@ -278,6 +280,8 @@ namespace linker.tunnel
LoggerHelper.Instance.Error(ex);
}
}
}
/// <summary>
/// 收到对方发来的连接失败的消息

View File

@@ -1,5 +1,5 @@
v1.5.1
2024-10-29 19:03:59
2024-10-29 21:26:17
1. 优化点对网和网对网的局域网IP包括禁用IP和冲突检测
2. 一些UI优化
3. 新增socks5代理