Commit b22ee5a6 authored by Max Lv's avatar Max Lv

Fix #2638

parent 4f38bedc
...@@ -91,6 +91,7 @@ class ProxyInstance(val profile: Profile, private val route: String = profile.ro ...@@ -91,6 +91,7 @@ class ProxyInstance(val profile: Profile, private val route: String = profile.ro
}.let { dns -> }.let { dns ->
cmd += arrayListOf( cmd += arrayListOf(
"--dns-addr", "${DataStore.listenAddress}:${DataStore.portLocalDns}", "--dns-addr", "${DataStore.listenAddress}:${DataStore.portLocalDns}",
"--local-dns-addr", "local_dns_path",
"--remote-dns-addr", "${dns.host ?: "0.0.0.0"}:${if (dns.port < 0) 53 else dns.port}") "--remote-dns-addr", "${dns.host ?: "0.0.0.0"}:${if (dns.port < 0) 53 else dns.port}")
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment