mirror of
https://github.com/snltty/linker.git
synced 2025-10-05 17:16:56 +08:00
test
This commit is contained in:
@@ -306,7 +306,10 @@ namespace linker.tunnel.transport
|
||||
if (tunnelTransportInfo.Remote.LocalIps.Any(c => c.AddressFamily == AddressFamily.InterNetworkV6)
|
||||
&& tunnelTransportInfo.Local.LocalIps.Any(c => c.AddressFamily == AddressFamily.InterNetworkV6))
|
||||
{
|
||||
eps.Add(new IPEndPoint(tunnelTransportInfo.Remote.LocalIps.FirstOrDefault(c => c.AddressFamily == AddressFamily.InterNetworkV6), tunnelTransportInfo.Remote.PortMapWan));
|
||||
foreach (var item in tunnelTransportInfo.Remote.LocalIps.Where(c => c.AddressFamily == AddressFamily.InterNetworkV6).Distinct())
|
||||
{
|
||||
eps.Add(new IPEndPoint(item, tunnelTransportInfo.Remote.PortMapWan));
|
||||
}
|
||||
}
|
||||
eps.Add(new IPEndPoint(tunnelTransportInfo.Remote.Remote.Address, tunnelTransportInfo.Remote.PortMapWan));
|
||||
|
||||
|
@@ -305,7 +305,11 @@ namespace linker.tunnel.transport
|
||||
if (tunnelTransportInfo.Remote.LocalIps.Any(c => c.AddressFamily == AddressFamily.InterNetworkV6)
|
||||
&& tunnelTransportInfo.Local.LocalIps.Any(c => c.AddressFamily == AddressFamily.InterNetworkV6))
|
||||
{
|
||||
eps.Add(new IPEndPoint(tunnelTransportInfo.Remote.LocalIps.FirstOrDefault(c => c.AddressFamily == AddressFamily.InterNetworkV6), tunnelTransportInfo.Remote.PortMapWan));
|
||||
foreach (var item in tunnelTransportInfo.Remote.LocalIps.Where(c => c.AddressFamily == AddressFamily.InterNetworkV6).Distinct())
|
||||
{
|
||||
eps.Add(new IPEndPoint(item, tunnelTransportInfo.Remote.PortMapWan));
|
||||
}
|
||||
|
||||
}
|
||||
eps.Add(new IPEndPoint(tunnelTransportInfo.Remote.Remote.Address, tunnelTransportInfo.Remote.PortMapWan));
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
v1.8.8
|
||||
2025-07-24 02:01:22
|
||||
2025-07-24 11:01:50
|
||||
1. 一些累计更新
|
||||
2. 管理端输入去除多余空格
|
||||
3. 中继节点自动更新
|
||||
|
Reference in New Issue
Block a user