diff --git a/src/linker.tun/WinDivertNAT.cs b/src/linker.tun/WinDivertNAT.cs index e036207f..3df0f648 100644 --- a/src/linker.tun/WinDivertNAT.cs +++ b/src/linker.tun/WinDivertNAT.cs @@ -71,10 +71,10 @@ namespace linker.tun if (OperatingSystem.IsWindows() == false || (RuntimeInformation.ProcessArchitecture != Architecture.X86 && RuntimeInformation.ProcessArchitecture != Architecture.X64)) { - error = "only windows x64,x86"; + error = "only win x64 and win x86"; return false; } - if (dsts == null || dsts.Length == 0) + if (src == null || dsts == null || dsts.Length == 0) { error = "src is null, or dsts empty"; return false; diff --git a/version.txt b/version.txt index cf26072a..560ce861 100644 --- a/version.txt +++ b/version.txt @@ -1,5 +1,5 @@ v1.7.3 -2025-04-20 17:23:15 +2025-04-20 17:31:17 1. 优化自动分配IP 2. 优化网卡,排除不明数据包 3. 虚拟网卡点对网IP映射,用于解决网段冲突