Pass includeAllNetworks to TUN

This commit is contained in:
世界
2024-05-08 11:06:18 +08:00
parent f6f895550d
commit 7eb666ecc4
2 changed files with 10 additions and 0 deletions
@@ -239,6 +239,14 @@ public class ExtensionPlatformInterface: NSObject, LibboxPlatformInterfaceProtoc
true
}
public func includeAllNetworks() -> Bool {
#if !os(tvOS)
return SharedPreferences.includeAllNetworks.getBlocking()
#else
return false
#endif
}
public func clearDNSCache() {
guard let networkSettings else {
return