Pass includeAllNetworks to TUN

This commit is contained in:
世界 committed 2024-05-08 11:06:18 +08:00
1 parent f6f895550d
commit 7eb666ecc4
2 files changed
+10

No files matched your search

@@ -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