mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Initial implementation of user-defined host labels
This commit is contained in:
parent
c8f6d75971
commit
144eb7fee4
20 changed files with 392 additions and 28 deletions
|
|
@ -15,14 +15,15 @@ end
|
|||
-- ##############################################
|
||||
|
||||
local function get_default_labels_table()
|
||||
labels = {}
|
||||
local labels = {}
|
||||
|
||||
for i = 16, 31 do
|
||||
-- Bits 32-63: user-customizable labels
|
||||
for i = 32, 63 do
|
||||
labels[i] = {
|
||||
id = i,
|
||||
color = "#000000",
|
||||
description = "",
|
||||
name = "Customizable_Label",
|
||||
name = "Customizable_Label_" .. i,
|
||||
reserved = "false"
|
||||
}
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue