mirror of
https://github.com/LibreQoE/LibreQoS.git
synced 2024-11-22 08:16:25 -06:00
RTT wasn't displaying correctly.
This commit is contained in:
parent
f54a4761b9
commit
4b1ec268d5
@ -86,7 +86,7 @@ export class Top10FlowsBytes extends BaseDashlet {
|
|||||||
total.innerText = scaleNumber(r.bytes_sent.down) + " / " + scaleNumber(r.bytes_sent.up);
|
total.innerText = scaleNumber(r.bytes_sent.down) + " / " + scaleNumber(r.bytes_sent.up);
|
||||||
row.appendChild(total);
|
row.appendChild(total);
|
||||||
|
|
||||||
if (r.rtt_nanos.length > 0) {
|
if (r.rtt_nanos['down'] !== undefined) {
|
||||||
this.rttCache.set(r.remote_ip + r.analysis, r.rtt_nanos);
|
this.rttCache.set(r.remote_ip + r.analysis, r.rtt_nanos);
|
||||||
}
|
}
|
||||||
let rtt = this.rttCache.get(r.remote_ip + r.analysis);
|
let rtt = this.rttCache.get(r.remote_ip + r.analysis);
|
||||||
|
Loading…
Reference in New Issue
Block a user