From c1710d1ef8a2a828ff917aa5165d6716a4cdf26c Mon Sep 17 00:00:00 2001 From: carbotaniuman <41451839+carbotaniuman@users.noreply.github.com> Date: Sun, 14 Jun 2020 21:20:42 -0500 Subject: [PATCH] Fix bug in ping --- src/main/java/mdnet/base/ServerHandler.java | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main/java/mdnet/base/ServerHandler.java b/src/main/java/mdnet/base/ServerHandler.java index 18d6042..090543e 100644 --- a/src/main/java/mdnet/base/ServerHandler.java +++ b/src/main/java/mdnet/base/ServerHandler.java @@ -66,6 +66,7 @@ public class ServerHandler { params.put("secret", settings.getClientSecret()); params.put("port", settings.getClientPort()); params.put("disk_space", settings.getMaxCacheSizeMib() * 1024 * 1024 /* MiB to bytes */); + params.put("network_speed", settings.getMaxBurstRateKibPerSecond() * 1024 /* KiB to bytes */); params.put("build_version", Constants.CLIENT_BUILD); params.put("tls_created_at", old.getTls().getCreatedAt());