1. ipv6 family possible fix

This commit is contained in:
vadym 2020-06-28 13:39:18 -07:00
parent 3879fe9bf9
commit 767079cfdc

View File

@ -65,6 +65,7 @@ class YggdrasilTunService : VpnService() {
var builder = Builder() var builder = Builder()
.addAddress(address, 7) .addAddress(address, 7)
.allowFamily(OsConstants.AF_INET) .allowFamily(OsConstants.AF_INET)
.allowFamily(OsConstants.AF_INET6)
.setMtu(MAX_PACKET_SIZE) .setMtu(MAX_PACKET_SIZE)
if (dns.size > 0) { if (dns.size > 0) {
for (d in dns) { for (d in dns) {