diff --git a/app/src/main/java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt b/app/src/main/java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt index bcfdd4d..f825e69 100644 --- a/app/src/main/java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt +++ b/app/src/main/java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt @@ -37,7 +37,7 @@ class YggdrasilTunService : VpnService() { private var isClosed = false /** 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 { private const val TAG = "Yggdrasil-service"