Browse Source

Fix bug in 51aaed8

Rod Hynes 6 years ago
parent
commit
cb9dd2c3b2
1 changed files with 1 additions and 1 deletions
  1. 1 1
      psiphon/common/parameters/clientParameters.go

+ 1 - 1
psiphon/common/parameters/clientParameters.go

@@ -584,7 +584,7 @@ func (p *ClientParameters) Set(
 	var customTLSProfileNames []string
 
 	customTLSProfilesValue := parameters[CustomTLSProfiles]
-	for i := len(applyParameters) - 1; i >= 0; i++ {
+	for i := len(applyParameters) - 1; i >= 0; i-- {
 		if v := applyParameters[i][CustomTLSProfiles]; v != nil {
 			customTLSProfilesValue = v
 			break