升级litedb和内网穿透不能删除

This commit is contained in:
snltty
2025-04-17 11:03:30 +08:00
parent c6b25ca71f
commit bc12cda97a
2 changed files with 2 additions and 4 deletions

View File

@@ -1,5 +1,4 @@
using linker.libs.extends;
using linker.messenger.forward;
using linker.messenger.forward;
using LiteDB;
using System.Net;
@@ -38,7 +37,6 @@ namespace linker.messenger.store.file.forward
public bool Add(ForwardInfo info)
{
Console.WriteLine(info.ToJson());
//同名或者同端口但是ID不一样
ForwardInfo old = liteCollection.FindOne(c => (c.Port == info.Port && c.Port != 0) && c.GroupId == info.GroupId && c.MachineId == info.MachineId);
if (old != null && old.Id != info.Id) return false;

View File

@@ -1,5 +1,5 @@
v1.7.3
2025-04-17 11:01:30
2025-04-17 11:03:30
1. 优化自动分配IP
2. 优化网卡,排除不明数据包
3. 虚拟网卡点对网IP映射用于解决网段冲突