mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Invalid MAC formatting
This commit is contained in:
parent
3d5359dc65
commit
bfd02c98d5
1 changed files with 4 additions and 2 deletions
|
|
@ -49,8 +49,10 @@ function getMacHosts(mac)
|
|||
|
||||
url = ntop.getHttpPrefix().."/lua/hosts_stats.lua?mac="..mac
|
||||
|
||||
if num_hosts > 1 then
|
||||
hosts = i18n("n_more_objects", { label = first_host["ip"], num = num_hosts, object = i18n("hosts")})
|
||||
if num_hosts == 1 then
|
||||
hosts = first_host["ip"]
|
||||
elseif num_hosts > 1 then
|
||||
hosts = i18n("n_more_objects", { label = first_host["ip"], num = num_hosts, object = i18n("hosts")})
|
||||
end
|
||||
end
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue