From c5e8da8159fce0ef508d4fa3b5d37c4c1a461015 Mon Sep 17 00:00:00 2001 From: Herbert Wolverson Date: Thu, 5 Jan 2023 22:18:39 +0000 Subject: [PATCH] Oops - forgot to multiply bytes into bits for consistency. --- src/rust/lqos_node_manager/static/circuit_queue.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rust/lqos_node_manager/static/circuit_queue.html b/src/rust/lqos_node_manager/static/circuit_queue.html index 339b1ec2..6eb7f629 100644 --- a/src/rust/lqos_node_manager/static/circuit_queue.html +++ b/src/rust/lqos_node_manager/static/circuit_queue.html @@ -142,8 +142,8 @@ y[4].push(0); y[5].push(0); } else { - y[0].push(data[0].Cake.tins[tin].sent_bytes); // Download - y[1].push(0.0 - data[1].Cake.tins[tin].sent_bytes); // Upload + y[0].push(data[0].Cake.tins[tin].sent_bytes * 8); // Download + y[1].push(0.0 - (data[1].Cake.tins[tin].sent_bytes * 8)); // Upload y[2].push(data[0].Cake.tins[tin].drops); // Down Drops y[3].push(data[0].Cake.tins[tin].marks); // Down Marks y[4].push(0.0 - data[1].Cake.tins[tin].drops); // Up Drops