Refactors NtopngUtils into NtopUtils

This commit is contained in:
Simone Mainardi 2020-08-18 15:10:04 +02:00
parent e61f9ffe68
commit 1ae2b2d932
59 changed files with 414 additions and 414 deletions

View file

@ -3780,8 +3780,8 @@ function initFlowsRefreshRows()
print[[
datatableInitRefreshRows($("#table-flows"), "key_and_hash", 10000, {
/* List of rows with trend icons */
"column_thpt": ]] print(ternary(getThroughputType() ~= "bps", "NtopngUtils.fpackets", "NtopngUtils.bitsToSize")) print[[,
"column_bytes": NtopngUtils.bytesToSize,
"column_thpt": ]] print(ternary(getThroughputType() ~= "bps", "NtopUtils.fpackets", "NtopUtils.bitsToSize")) print[[,
"column_bytes": NtopUtils.bytesToSize,
});
$("#dt-bottom-details > .float-left > p").first().append('. ]]