Просмотр исходного кода

Fix: correctly configure downstream liveness test

Rod Hynes 7 лет назад
Родитель
Сommit
550b32c42c
1 измененных файлов с 1 добавлено и 1 удалено
  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)