Commit 0a400ef5 authored by Max Lv's avatar Max Lv

Trim the KCP parameters

parent cda3650c
......@@ -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)
, profile.kcpcli.trim)
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)
, profile.kcpcli.trim)
if (BuildConfig.DEBUG)
Log.d(TAG, cmd.mkString(" "))
......
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