mirror of
https://github.com/yggdrasil-network/crispa-android.git
synced 2024-11-13 22:11:03 +00:00
1. ipv6 family possible fix
This commit is contained in:
parent
3879fe9bf9
commit
767079cfdc
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user