From 2db97c42e8af03ebd37a848f31f6d271aebd1ae9 Mon Sep 17 00:00:00 2001 From: hugetoad Date: Mon, 10 Jan 2005 19:17:45 +0000 Subject: - 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 --- frontends/php/include/config.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'frontends/php/include/config.inc.php') 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); -- cgit