Chore: update clash core

This commit is contained in:
kr328
2022-03-22 13:47:11 +08:00
parent 4b8fc6ae9a
commit d5618321e9
23 changed files with 265 additions and 690 deletions

View File

@@ -207,7 +207,7 @@ class TunService : VpnService(), CoroutineScope by CoroutineScope(Dispatchers.De
TunModule.TunDevice(
fd = establish()?.detachFd()
?: throw NullPointerException("Establish VPN rejected by system"),
gateway = TUN_GATEWAY,
gateway = "$TUN_GATEWAY/$TUN_SUBNET_PREFIX",
portal = TUN_PORTAL,
dns = if (store.dnsHijacking) NET_ANY else TUN_DNS,
)