mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Visualize flow quota status information
This commit is contained in:
parent
1c9de84040
commit
eb7fae8c4c
9 changed files with 213 additions and 15 deletions
|
|
@ -1212,6 +1212,24 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function splitProtocol(proto_string)
|
||||
local parts = string.split(proto_string, "%.")
|
||||
local app_proto
|
||||
local master_proto
|
||||
|
||||
if parts == nil then
|
||||
master_proto = proto_string
|
||||
app_proto = nil
|
||||
else
|
||||
master_proto = parts[1]
|
||||
app_proto = parts[2]
|
||||
end
|
||||
|
||||
return master_proto, app_proto
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
function getHostAltNamesKey()
|
||||
return "ntopng.host_labels"
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue