summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2013-02-20 00:00:06 -0800
committerErmal Luçi <eri@pfsense.org>2013-02-20 00:00:06 -0800
commita3861260696e68a87b7c5d4ebd5a180821f8129d (patch)
treea41a9870a0024c97b5c8da60be16f5ee8f85e72b
parentae88de13caaa06f8c614ae6e90800f715b2738b1 (diff)
parent31e41cf41f2b8f91d9c97761055054ff95bd16c4 (diff)
downloadpfsense-a3861260696e68a87b7c5d4ebd5a180821f8129d.zip
pfsense-a3861260696e68a87b7c5d4ebd5a180821f8129d.tar.gz
Merge pull request #428 from mdima/master
Status Queue: Uniform units in the interface.
-rwxr-xr-xusr/local/www/status_queues.php4
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);
}
}
?>
OpenPOWER on IntegriCloud