All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit 422100be authored by Jonathon Duerig's avatar Jonathon Duerig

Sanity check bandwidth number

parent 0cd2ea1b
......@@ -1820,6 +1820,9 @@ while (($node1,$card1,$port1,$node2,$card2,$port2) =
if ($sharing_mode{$node1}) {
$bw =
$interfacestate{"$node1:$iface1"}->{'remaining_bandwidth'};
if ($bw < 0) {
$bw = 0;
}
next
if ($bw == 0);
}
......
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