From 85852501982888bce71dde4619d2b1ece503fdd7 Mon Sep 17 00:00:00 2001 From: M.Gergő Date: Wed, 10 Oct 2018 23:05:41 +0200 Subject: better configuration --- ubnt_unifi.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ubnt_unifi.php') diff --git a/ubnt_unifi.php b/ubnt_unifi.php index 4491a38..6dc1051 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 = 8*1024*1024; // When showing the controller's summary - $divider = 1024*1024; + $multiplier = 8*4*1024; // When showing the controller's summary + $divider = 4*1024; } -- cgit v1.2.3