mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Added format address function, name + address
This commit is contained in:
parent
ce9d9c6d4e
commit
a60252f6c5
1 changed files with 4 additions and 0 deletions
|
|
@ -392,5 +392,9 @@ function format_utils.formatMainAddressCategory(host)
|
|||
|
||||
return addr_category
|
||||
end
|
||||
|
||||
function format_utils.formatHostNameAndAddress(host_name, address)
|
||||
return host_name .. " (" .. address .. ")"
|
||||
end
|
||||
|
||||
return format_utils
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue