diff options
author | Ermal Luçi <eri@pfsense.org> | 2013-02-20 00:00:06 -0800 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2013-02-20 00:00:06 -0800 |
commit | a3861260696e68a87b7c5d4ebd5a180821f8129d (patch) | |
tree | a41a9870a0024c97b5c8da60be16f5ee8f85e72b | |
parent | ae88de13caaa06f8c614ae6e90800f715b2738b1 (diff) | |
parent | 31e41cf41f2b8f91d9c97761055054ff95bd16c4 (diff) | |
download | pfsense-a3861260696e68a87b7c5d4ebd5a180821f8129d.zip pfsense-a3861260696e68a87b7c5d4ebd5a180821f8129d.tar.gz |
Merge pull request #428 from mdima/master
Status Queue: Uniform units in the interface.
-rwxr-xr-x | usr/local/www/status_queues.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/status_queues.php b/usr/local/www/status_queues.php index 657059f..c147a57 100755 --- a/usr/local/www/status_queues.php +++ b/usr/local/www/status_queues.php @@ -258,9 +258,9 @@ function format_bits($bits) { } else if ($bits >= 1000000) { return sprintf("%.2f Mbps", $bits/1000000); } else if ($bits >= 1000) { - return sprintf("%.2f Kb", $bits/1000); + return sprintf("%.2f Kbps", $bits/1000); } else { - return sprintf("%d b", $bits); + return sprintf("%d bps", $bits); } } ?> |