mirror of
https://github.com/yggdrasil-network/crispa-android.git
synced 2025-01-22 16:06:30 +00:00
1. added default route
This commit is contained in:
parent
e544bb0975
commit
abcd38be8b
@ -57,6 +57,7 @@ class YggdrasilTunService : VpnService() {
|
|||||||
tunInterface = builder
|
tunInterface = builder
|
||||||
.addAddress(address, 7)
|
.addAddress(address, 7)
|
||||||
.addRoute("0200::", 7)
|
.addRoute("0200::", 7)
|
||||||
|
.addRoute("0.0.0.0", 0)
|
||||||
.establish()
|
.establish()
|
||||||
|
|
||||||
tunInputStream = FileInputStream(tunInterface!!.fileDescriptor)
|
tunInputStream = FileInputStream(tunInterface!!.fileDescriptor)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user