mirror of
https://github.com/yggdrasil-network/crispa-android.git
synced 2024-11-09 20:11:01 +00:00
1. YGG address fix
This commit is contained in:
parent
bf491944d4
commit
ab4d18fc48
@ -67,6 +67,7 @@ class YggdrasilTunService : VpnService() {
|
|||||||
private fun setupIOStreams(dns: MutableSet<DNSInfo>){
|
private fun setupIOStreams(dns: MutableSet<DNSInfo>){
|
||||||
address = ygg.addressString
|
address = ygg.addressString
|
||||||
var builder = Builder()
|
var builder = Builder()
|
||||||
|
.addAddress(address, 7)
|
||||||
.allowFamily(OsConstants.AF_INET)
|
.allowFamily(OsConstants.AF_INET)
|
||||||
.setMtu(MAX_PACKET_SIZE)
|
.setMtu(MAX_PACKET_SIZE)
|
||||||
if (dns.size > 0) {
|
if (dns.size > 0) {
|
||||||
|
Loading…
Reference in New Issue
Block a user