mirror of
https://github.com/yggdrasil-network/crispa-android.git
synced 2024-11-09 20:11:01 +00:00
1. list peers fix
This commit is contained in:
parent
651548fd22
commit
b45a7fa939
@ -75,7 +75,9 @@ class YggdrasilTunService : VpnService() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
private fun fixConfig(config: MutableMap<Any?, Any?>): MutableMap<Any?, Any?> {
|
private fun fixConfig(config: MutableMap<Any?, Any?>): MutableMap<Any?, Any?> {
|
||||||
config["Peers"] = "tcp://194.177.21.156:5066"
|
val peers = arrayListOf<String>();
|
||||||
|
peers.add("tcp://194.177.21.156:5066");
|
||||||
|
config["Peers"] = peers
|
||||||
config["Listen"] = ""
|
config["Listen"] = ""
|
||||||
config["AdminListen"] = "tcp://localhost:9001"
|
config["AdminListen"] = "tcp://localhost:9001"
|
||||||
config["IfName"] = "dummy"
|
config["IfName"] = "dummy"
|
||||||
|
Loading…
Reference in New Issue
Block a user