mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Remove unused HTTPBL
This commit is contained in:
parent
a9da03ed13
commit
4370df81e3
23 changed files with 1550 additions and 252 deletions
|
|
@ -171,9 +171,6 @@ if(hosts_stats ~= nil) then
|
|||
vals[(now-hosts_stats[key]["family"])+postfix] = key
|
||||
elseif(sortColumn == "column_last") then
|
||||
vals[(now-hosts_stats[key]["seen.last"]+1)+postfix] = key
|
||||
elseif(sortColumn == "column_httpbl") then
|
||||
if(hosts_stats[key]["httpbl"] == nil) then hosts_stats[key]["httpbl"] = "" end
|
||||
vals[hosts_stats[key]["httpbl"]..postfix] = key
|
||||
elseif(sortColumn == "column_country") then
|
||||
vals[hosts_stats[key]["country"]..postfix] = key
|
||||
elseif(sortColumn == "column_vlan") then
|
||||
|
|
@ -293,10 +290,6 @@ for _key, _value in pairsByKeys(vals, funct) do
|
|||
end
|
||||
end
|
||||
|
||||
if((value["httpbl"] ~= nil) and (string.len(value["httpbl"]) > 2)) then
|
||||
print (" <i class='fa fa-frown-o'></i>")
|
||||
end
|
||||
|
||||
if((value["num_alerts"] ~= nil) and (value["num_alerts"] > 0)) then
|
||||
print(" <i class='fa fa-warning fa-lg' style='color: #B94A48;'></i>")
|
||||
end
|
||||
|
|
@ -307,8 +300,6 @@ for _key, _value in pairsByKeys(vals, funct) do
|
|||
|
||||
-- print("</div>")
|
||||
|
||||
if((value["httpbl"] ~= nil) and (string.len(value["httpbl"]) > 2)) then print("\", \"column_httpbl\" : \"".. value["httpbl"]) end
|
||||
|
||||
if(value["vlan"] ~= nil) then
|
||||
|
||||
if(value["vlan"] ~= 0) then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue