Commit 8f6357d9 authored by Max Lv's avatar Max Lv

Fix the dualstack issue on Android 4.4

parent 73462b08
...@@ -317,7 +317,7 @@ trait BaseService extends Service { ...@@ -317,7 +317,7 @@ trait BaseService extends Service {
protected final def buildOvertureConfig(file: String): String = { protected final def buildOvertureConfig(file: String): String = {
val config = new JSONObject() val config = new JSONObject()
.put("BindAddress", ":" + (profile.localPort + 53)) .put("BindAddress", "0.0.0.0:" + (profile.localPort + 53))
.put("RedirectIPv6Record", true) .put("RedirectIPv6Record", true)
.put("DomainBase64Decode", true) .put("DomainBase64Decode", true)
.put("HostsFile", "hosts") .put("HostsFile", "hosts")
......
Subproject commit 59a4ebf5a81a159dff250bbe3c831cc7a40c88bd Subproject commit 6d51c15e284e8b6615918c229a30267fdfbeaf5f
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