mirror of
https://github.com/MetaCubeX/ClashMetaForAndroid.git
synced 2025-03-25 17:43:58 +03:00
fix: decrease mtu
This commit is contained in:
parent
fff0cc277d
commit
ee0b2f9361
@ -198,7 +198,7 @@ class MetaFeatureSettingsDesign(
|
|||||||
)
|
)
|
||||||
|
|
||||||
sniffer.listener?.onChanged()
|
sniffer.listener?.onChanged()
|
||||||
|
/*
|
||||||
category(R.string.geox_url_setting)
|
category(R.string.geox_url_setting)
|
||||||
|
|
||||||
val geoxurlDependencies: MutableList<Preference> = mutableListOf()
|
val geoxurlDependencies: MutableList<Preference> = mutableListOf()
|
||||||
@ -228,7 +228,7 @@ class MetaFeatureSettingsDesign(
|
|||||||
placeholder = R.string.dont_modify,
|
placeholder = R.string.dont_modify,
|
||||||
empty = R.string.geosite_url,
|
empty = R.string.geosite_url,
|
||||||
configure = geoxurlDependencies::add,
|
configure = geoxurlDependencies::add,
|
||||||
)
|
) */
|
||||||
}
|
}
|
||||||
|
|
||||||
binding.content.addView(screen.root)
|
binding.content.addView(screen.root)
|
||||||
|
@ -217,7 +217,7 @@ class TunService : VpnService(), CoroutineScope by CoroutineScope(Dispatchers.De
|
|||||||
}
|
}
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
private const val TUN_MTU = 65535
|
private const val TUN_MTU = 9000
|
||||||
private const val TUN_SUBNET_PREFIX = 30
|
private const val TUN_SUBNET_PREFIX = 30
|
||||||
private const val TUN_GATEWAY = "172.19.0.1"
|
private const val TUN_GATEWAY = "172.19.0.1"
|
||||||
private const val TUN_PORTAL = "172.19.0.2"
|
private const val TUN_PORTAL = "172.19.0.2"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user