mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 07:59:35 +00:00
Fix incorrect historical hosts location. (#8338)
This commit is contained in:
parent
44b84dc90d
commit
96cd811123
3 changed files with 15 additions and 20 deletions
|
|
@ -1465,10 +1465,12 @@ end
|
|||
function format_location_badge(location)
|
||||
local loc = string.lower(location) or ""
|
||||
|
||||
if loc == "l" then
|
||||
if loc == "local" then
|
||||
loc = i18n("details.label_short_local_host_badge")
|
||||
elseif loc == "r" then
|
||||
elseif loc == "remote" then
|
||||
loc = i18n("details.label_short_remote_host_badge")
|
||||
elseif loc == 'multicast' then
|
||||
loc = i18n('details.label_short_multicast_host_badge')
|
||||
end
|
||||
|
||||
return loc
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue