diff --git a/lsp/functions.js b/lsp/functions.js index e9f2139f..4ffbe0f4 100644 --- a/lsp/functions.js +++ b/lsp/functions.js @@ -475,7 +475,7 @@ function BuildLimitRow(l) { l['type'] = l['type'] || 'soft'; - l['name'] = l['name'] || 'kb_total'; + l['name'] = l['name'] || 'kbps_max'; l['val'] = l['val'] || 0; var i, j, lv, db, @@ -488,7 +488,6 @@ function BuildLimitRow(l) ['hard', 'Hardlimit','Do not allow this limit to be passed.'] ], [ - ['kb_total', 'Total bandwidth','Total bandwidth in bytes.'], ['kbps_max', 'Current bandwidth', 'Current bandwidth in bytes/s.'], ['users', 'Concurrent users','Maximum concurrent users.'], ['geo', 'Geolimited', 'Either a blacklist or whitelist containing country codes.'], @@ -498,6 +497,7 @@ function BuildLimitRow(l) ]; /* Limits that are currently not in use but may return later: + ['kb_total', 'Total bandwidth','Total bandwidth in bytes.'], ['duration', 'Duration', 'Maximum duration a user may be connected in seconds.'], ['str_kbps_min', 'Minimum bitrate','Minimum bitrate in bytes/s.'], ['str_kbps_max', 'Maximum bitrate','Maximum bitrate in bytes/s.'] @@ -512,46 +512,25 @@ function BuildLimitRow(l) $('