Skip to content

Commit

Permalink
Trim the KCP parameters
Browse files Browse the repository at this point in the history
  • Loading branch information
madeye committed Aug 9, 2016
1 parent cda3650 commit 0a400ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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(" "))

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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(" "))
Expand Down

0 comments on commit 0a400ef

Please sign in to comment.