Fix mode 1,2 did not ignore BypassChina

This commit is contained in:
ChsBuffer
2020-12-20 17:34:45 +08:00
parent 5d8bbe3518
commit f9724f77c2

View File

@@ -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);
}
}