mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
aging filters for service map
This commit is contained in:
parent
6efd1a65ff
commit
1b2a37e852
3 changed files with 30 additions and 2 deletions
|
|
@ -3969,6 +3969,21 @@ end
|
|||
|
||||
-- ###########################################
|
||||
|
||||
function build_query_url(excluded)
|
||||
|
||||
local query = "?"
|
||||
|
||||
for key, value in pairs(_GET) do
|
||||
if not(table.contains(excluded, key)) then
|
||||
query = query .. string.format("%s=%s&", key, value)
|
||||
end
|
||||
end
|
||||
|
||||
return query
|
||||
end
|
||||
|
||||
-- ###########################################
|
||||
|
||||
--- Insert an element inside the table if is not present
|
||||
function table.insertIfNotPresent(t, element, comp)
|
||||
if table.contains(t, element, comp) then return end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue