1. list fix

This commit is contained in:
vadym 2020-06-09 10:59:41 -07:00
parent 0cb7f7f6bb
commit 651548fd22

View File

@ -75,10 +75,7 @@ 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"
(config["Peers"] as MutableList<Any>)[0] = "tcp://194.177.21.156:5066"
(config["Peers"] as MutableList<Any>)[1] = "tcp://46.151.26.194:60575"
(config["Peers"] as MutableList<Any>)[2] = "tcp://188.226.125.64:54321"
config["Listen"] = "" config["Listen"] = ""
config["AdminListen"] = "tcp://localhost:9001" config["AdminListen"] = "tcp://localhost:9001"
config["IfName"] = "dummy" config["IfName"] = "dummy"