aboutsummaryrefslogtreecommitdiffstats
path: root/ubnt_unifi.php
diff options
context:
space:
mode:
authorM.Gergő2018-09-28 16:32:53 +0200
committerM.Gergő2018-09-28 16:32:53 +0200
commitdb2827f542e9bc9a23ffed4707be038c0b1fb478 (patch)
treeceae3d812c0d0abf945e6ffd4d704d959f328291 /ubnt_unifi.php
parentd62fc9bf0e776c31acd0c7e0be709dfb0f794bd8 (diff)
downloadmunin-unifi-db2827f542e9bc9a23ffed4707be038c0b1fb478.tar.gz
munin-unifi-db2827f542e9bc9a23ffed4707be038c0b1fb478.zip
Readme update
Diffstat (limited to 'ubnt_unifi.php')
-rw-r--r--ubnt_unifi.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/ubnt_unifi.php b/ubnt_unifi.php
index 12ba5f1..4491a38 100644
--- a/ubnt_unifi.php
+++ b/ubnt_unifi.php
@@ -184,8 +184,8 @@ function collect_netw_summary($inp,$host){ //network information
$multiplier = 8;
$divider = 1;
} else { //because the normal INTEGER(32) would be overflowed
- $multiplier = 8192; // When showing the controller's summary
- $divider = 1024;
+ $multiplier = 8*1024*1024; // When showing the controller's summary
+ $divider = 1024*1024;
}