mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
fix geomap host
This commit is contained in:
parent
88f628fa7b
commit
5b4b55872f
5 changed files with 171 additions and 123 deletions
|
|
@ -61,7 +61,7 @@ end
|
|||
-- ##############################################
|
||||
|
||||
-- See also getHumanReadableInterfaceName
|
||||
function getInterfaceName(interface_id, windows_skip_description)
|
||||
function getInterfaceName(interface_id, windows_skip_description)
|
||||
if(interface_id == getSystemInterfaceId()) then
|
||||
return(getSystemInterfaceName())
|
||||
end
|
||||
|
|
@ -2360,7 +2360,7 @@ function getFlag(country)
|
|||
if((country == nil) or (country == "")) then
|
||||
return("")
|
||||
else
|
||||
return(" <A HREF='" .. ntop.getHttpPrefix() .. "/lua/hosts_stats.lua?country=".. country .."'><img src='".. ntop.getHttpPrefix() .. "/img/blank.gif' class='flag flag-".. string.lower(country) .."'></A> ")
|
||||
return("<a href='" .. ntop.getHttpPrefix() .. "/lua/hosts_stats.lua?country=".. country .."'><img src='".. ntop.getHttpPrefix() .. "/img/blank.gif' class='flag flag-".. string.lower(country) .."'></a>")
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue