From 767079cfdc8fae6ed338fe19dbc6047425d1a7ea Mon Sep 17 00:00:00 2001 From: vadym Date: Sun, 28 Jun 2020 13:39:18 -0700 Subject: [PATCH] 1. ipv6 family possible fix --- .../java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt | 1 + 1 file changed, 1 insertion(+) 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 c565b8b..088648d 100644 --- a/app/src/main/java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt +++ b/app/src/main/java/io/github/chronosx88/yggdrasil/YggdrasilTunService.kt @@ -65,6 +65,7 @@ class YggdrasilTunService : VpnService() { var builder = Builder() .addAddress(address, 7) .allowFamily(OsConstants.AF_INET) + .allowFamily(OsConstants.AF_INET6) .setMtu(MAX_PACKET_SIZE) if (dns.size > 0) { for (d in dns) {