summaryrefslogtreecommitdiffstats
path: root/frontends/php/include
diff options
context:
space:
mode:
authorhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-01-10 19:17:45 +0000
committerhugetoad <hugetoad@97f52cf1-0a1b-0410-bd0e-c28be96e8082>2005-01-10 19:17:45 +0000
commit2db97c42e8af03ebd37a848f31f6d271aebd1ae9 (patch)
tree0f07b55d591787072a979aa3875d8593c89e6f7d /frontends/php/include
parent83bc5db04ba258da2f722db4b796d05a4ff39173 (diff)
downloadzabbix-2db97c42e8af03ebd37a848f31f6d271aebd1ae9.tar.gz
zabbix-2db97c42e8af03ebd37a848f31f6d271aebd1ae9.tar.xz
zabbix-2db97c42e8af03ebd37a848f31f6d271aebd1ae9.zip
- special processing of 'b' and 'bps' (bytes). Take 1000 for Kilos (Alexei)
git-svn-id: svn://svn.zabbix.com/trunk@1596 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include')
-rw-r--r--frontends/php/include/config.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/frontends/php/include/config.inc.php b/frontends/php/include/config.inc.php
index 5b9a3f0b..873946cd 100644
--- a/frontends/php/include/config.inc.php
+++ b/frontends/php/include/config.inc.php
@@ -95,7 +95,7 @@
$u="";
// Special processing for bits (kilo=1000, not 1024 for bits)
- if($units=="b")
+ if( ($units=="b") || ($units=="bps"))
{
$abs=abs($value);