Removes real-time links from the historical data browser

This commit is contained in:
Simone Mainardi 2016-02-27 14:09:39 +01:00
parent 0d7873d7ac
commit 4cd8a76d3d

View file

@ -140,7 +140,6 @@ if stats_type == "top_talkers" then
if res ~= nil then
for _, record in pairs(res) do
record["label"] = shortenString(record["label"])
record["label"] = '<a href="'..ntop.getHttpPrefix()..'/lua/host_details.lua?host='..record["addr"]..'">'..record["label"]..'</a>'
end
end
elseif stats_type =="top_applications" then
@ -152,7 +151,6 @@ elseif stats_type =="top_applications" then
end
if res ~= nil then
for _, record in pairs(res) do
record["label"] = '<a href="'..ntop.getHttpPrefix()..'/lua/hosts_stats.lua?protocol='..interface.getnDPIProtoName(tonumber(record["application"]))..'">'..record["label"]..'</a>'
end
end
-- tprint(res)