Added the ability to drop flows of a specified host

This commit is contained in:
Luca Deri 2025-08-09 17:29:53 +02:00
parent ff37c91c0c
commit f6bd152805
5 changed files with 37 additions and 11 deletions

View file

@ -252,7 +252,7 @@ if((page == "overview") or (page == nil)) then
end
if have_nedge then
print("<tr><th>" .. i18n("hosts_stats.location") .. " </th><td colspan=2>".. firstToUpper(mac_info.location) .."</td></tr>\n")
print("<tr><th>" .. i18n("hosts_stats.location") .. " </th><td colspan=2>".. string.upper(mac_info.location) .."</td></tr>\n")
end
print("<tr><th>".. i18n("details.first_last_seen") .. "</th><td nowrap><span id=first_seen>" .. formatEpoch(mac_info["seen.first"]) .. " [" .. secondsToTime(os.time()-mac_info["seen.first"]) .. " " .. i18n("details.ago").."]" .. "</span></td>\n")