Browse Source

Fix: correctly configure downstream liveness test

Rod Hynes 7 years ago
parent
commit
550b32c42c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      psiphon/tunnel.go

+ 1 - 1
psiphon/tunnel.go

@@ -1197,7 +1197,7 @@ func performLivenessTest(
 		return metrics, common.ContextError(err)
 	}
 
-	metrics.UpstreamBytes, err = common.MakeSecureRandomRange(
+	metrics.DownstreamBytes, err = common.MakeSecureRandomRange(
 		minDownstreamBytes, maxDownstreamBytes)
 	if err != nil {
 		return metrics, common.ContextError(err)