Skip to content

Commit

Permalink
we don't need bandwidth with 0 value
Browse files Browse the repository at this point in the history
  • Loading branch information
chilek committed Mar 20, 2013
1 parent c7d4500 commit 6d3dc68
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/uke.php
Original file line number Diff line number Diff line change
Expand Up @@ -604,9 +604,9 @@
foreach ($netlinks as $netlink)
if ($netnodes[$netlink['src']]['id'] != $netnodes[$netlink['dst']]['id']) {
$snetlinks .= $netlinkid.",".$netnodes[$netlink['src']]['id'].",".$netnodes[$netlink['dst']]['id'].",Nie,Tak,Nie,"
."0,0,"
.",,"
.implode(',', array_fill(0, 2, floor($netlink['speed'] / 1000))).","
."0,0,0,0\n";
.",,0,0\n";
$netlinkid++;
}

Expand Down

0 comments on commit 6d3dc68

Please sign in to comment.