From dfd33eb674f77fe9beb1a0f81675d964875d7635 Mon Sep 17 00:00:00 2001 From: WolverinDEV Date: Tue, 28 Apr 2020 19:59:05 +0200 Subject: [PATCH] Fixed ft stats --- server/src/client/query/QueryClientCommands.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/src/client/query/QueryClientCommands.cpp b/server/src/client/query/QueryClientCommands.cpp index 1c5cf1c..4749c8d 100644 --- a/server/src/client/query/QueryClientCommands.cpp +++ b/server/src/client/query/QueryClientCommands.cpp @@ -416,6 +416,8 @@ command_result QueryClient::handleCommandServerInfo(Command &) { cmd["connection_filetransfer_bandwidth_sent"] = report_minute.file_bytes_sent; cmd["connection_filetransfer_bandwidth_received"] = report_minute.file_bytes_received; + cmd["connection_filetransfer_bytes_sent_total"] = total_stats.file_bytes_sent; + cmd["connection_filetransfer_bytes_received_total"] = total_stats.file_bytes_received; cmd["connection_packets_sent_speech"] = total_stats.connection_packets_sent[stats::ConnectionStatistics::category::VOICE]; cmd["connection_bytes_sent_speech"] = total_stats.connection_bytes_sent[stats::ConnectionStatistics::category::VOICE];