mirror of
https://github.com/yggdrasil-network/crispa-android.git
synced 2025-01-22 07:56:30 +00:00
1. DNS possible fix
This commit is contained in:
parent
767079cfdc
commit
5217204670
@ -65,9 +65,9 @@ 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) {
|
||||
builder.addDnsServer(address)
|
||||
for (d in dns) {
|
||||
builder.addDnsServer(d.address)
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user