mirror of
https://github.com/yggdrasil-network/crispa-android.git
synced 2025-01-22 16:06:30 +00:00
2. MTU=1500
This commit is contained in:
parent
efca13b58f
commit
9646428019
@ -37,7 +37,7 @@ class YggdrasilTunService : VpnService() {
|
|||||||
private var isClosed = false
|
private var isClosed = false
|
||||||
|
|
||||||
/** Maximum packet size is constrained by the MTU, which is given as a signed short - 256 */
|
/** Maximum packet size is constrained by the MTU, which is given as a signed short - 256 */
|
||||||
private val MAX_PACKET_SIZE = Short.MAX_VALUE/2
|
private val MAX_PACKET_SIZE = 1500
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
private const val TAG = "Yggdrasil-service"
|
private const val TAG = "Yggdrasil-service"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user