From 8f6357d9cf960ca64f45e606c2c98d450d7effed Mon Sep 17 00:00:00 2001 From: Max Lv Date: Tue, 9 May 2017 19:28:49 +0800 Subject: [PATCH] Fix the dualstack issue on Android 4.4 --- mobile/src/main/scala/com/github/shadowsocks/BaseService.scala | 2 +- mobile/src/overture/src/github.com/shadowsocks/overture | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mobile/src/main/scala/com/github/shadowsocks/BaseService.scala b/mobile/src/main/scala/com/github/shadowsocks/BaseService.scala index 4b7df91e..b62d08cd 100644 --- a/mobile/src/main/scala/com/github/shadowsocks/BaseService.scala +++ b/mobile/src/main/scala/com/github/shadowsocks/BaseService.scala @@ -317,7 +317,7 @@ trait BaseService extends Service { protected final def buildOvertureConfig(file: String): String = { val config = new JSONObject() - .put("BindAddress", ":" + (profile.localPort + 53)) + .put("BindAddress", "0.0.0.0:" + (profile.localPort + 53)) .put("RedirectIPv6Record", true) .put("DomainBase64Decode", true) .put("HostsFile", "hosts") diff --git a/mobile/src/overture/src/github.com/shadowsocks/overture b/mobile/src/overture/src/github.com/shadowsocks/overture index 59a4ebf5..6d51c15e 160000 --- a/mobile/src/overture/src/github.com/shadowsocks/overture +++ b/mobile/src/overture/src/github.com/shadowsocks/overture @@ -1 +1 @@ -Subproject commit 59a4ebf5a81a159dff250bbe3c831cc7a40c88bd +Subproject commit 6d51c15e284e8b6615918c229a30267fdfbeaf5f