Commit 1b1b5cda authored by Robert Ricci's avatar Robert Ricci
Browse files

Fix a bug: I was multiplying bandwidth information in the widearea_

tables by 8, to convert from Kbit/s to Kbyte/sec. But, it's already in
Kbyte/sec.
parent b623d1b2
......@@ -286,7 +286,7 @@ if ($showlinks) {
while (my ($node_id1, $node_id2, $time, $bandwidth,
$lossrate) = $result->fetchrow) {
$delaymap{"$node_id1 $node_id2"} =
[$time * 1000 / 2, $bandwidth * 8, $lossrate];
[$time * 1000 / 2, $bandwidth, $lossrate];
}
print "Wide-Area Lan/Link Info: Recent Data\n";
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment