mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
parent
ab54200479
commit
0810ab0244
3 changed files with 2 additions and 14 deletions
|
|
@ -4290,18 +4290,6 @@ function builMapHREF(ip_address, vlan_id, map, default_page)
|
|||
end
|
||||
end
|
||||
|
||||
function remove_html_string(msg)
|
||||
if (not msg) or (isEmptyString(msg)) then
|
||||
return ""
|
||||
end
|
||||
|
||||
local end_num = msg:find(">[^>]*$")
|
||||
local begin_num = msg:find("<")
|
||||
msg = msg:sub(1, begin_num - 1) .. msg:sub(end_num + 1, -1)
|
||||
|
||||
return msg
|
||||
end
|
||||
|
||||
-- #####################
|
||||
|
||||
local iec104_typeids = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue