This commit is contained in:
Max Lv
2016-08-13 17:33:10 +08:00
parent a671ae98b8
commit dd6cd3977d
5 changed files with 6 additions and 6 deletions
@@ -122,7 +122,7 @@ class ShadowsocksNatService extends BaseService {
cmd += (getApplicationInfo.dataDir + "/kcptun"
, "-r", profile.host + ":" + profile.kcpPort
, "-l", "127.0.0.1:" + (profile.localPort + 90)
, profile.kcpcli.trim)
, profile.kcpcli.trim.replaceAll("[\"']", ""))
if (BuildConfig.DEBUG) Log.d(TAG, cmd.mkString(" "))
@@ -211,7 +211,7 @@ class ShadowsocksVpnService extends VpnService with BaseService {
, "-r", profile.host + ":" + profile.kcpPort
, "-l", "127.0.0.1:" + (profile.localPort + 90)
, "--path", getApplicationInfo.dataDir + "/protect_path"
, profile.kcpcli.trim)
, profile.kcpcli.trim.replaceAll("[\"']", ""))
if (BuildConfig.DEBUG)
Log.d(TAG, cmd.mkString(" "))