Fixed bug that caused RRDs to be much larger than required.

Host activity fixes
This commit is contained in:
Luca Deri 2016-09-10 17:32:02 +02:00
parent 54f15aa322
commit d87d3e0e5b
4 changed files with 62 additions and 53 deletions

View file

@ -14,10 +14,15 @@ sendHTTPHeader('text/html; charset=iso-8859-1')
local res = {}
local name_map = {
{ "Chat", "Chat and Realtime Communications" },
{ "RemoteControl", "Remote Access" },
{ "MailSend", "Email Send" },
{ "Media", "Media and Streaming" },
{ "MailSync", "Email Synchronization" },
{ "FileTransfer", "File Transfer" }
{ "FileTransfer", "File Transfer" },
{ "Web", "Web Browsing" },
{ "Game", "Online Gaming" },
{ "Other", "Other Traffic" }
}
function mapRRDname(name)