mirror of
https://github.com/netchx/netch.git
synced 2026-05-05 22:35:48 +08:00
Fix mode 1,2 did not ignore BypassChina
This commit is contained in:
@@ -126,6 +126,6 @@ namespace Netch.Models
|
||||
public static bool TestNatRequired(this Mode mode) => mode.Type is 0 or 1 or 2;
|
||||
|
||||
/// Socks5 分流是否能被有效实施
|
||||
public static bool ClientRouting(this Mode mode) => mode.Type is not 1 or 2;
|
||||
public static bool ClientRouting(this Mode mode) => mode.Type is not (1 or 2);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user