1. list peers fix

This commit is contained in:
vadym 2020-06-09 23:53:20 -07:00
parent 651548fd22
commit b45a7fa939

View File

@ -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"