mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-30 16:09:32 +00:00
Added debug in hosts geomap rest (#9377)
This commit is contained in:
parent
3c60353ca3
commit
41deb8fb9b
1 changed files with 3 additions and 0 deletions
|
|
@ -113,7 +113,10 @@ local function show_hosts(hosts_count, host_key, hosts_category)
|
|||
|
||||
if value["latitude"] ~= 0 or value["longitude"] ~= 0 then
|
||||
local country = value["country"]
|
||||
tprint("Country: " .. country)
|
||||
local country_info = country_code.get_country_info(country)
|
||||
tprint(country_info)
|
||||
tprint("----------")
|
||||
local iso3_country = country_info[1]
|
||||
local country_id = country_info[2]
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue