mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Flow details improvements in nEdge
This commit is contained in:
parent
6717e3850b
commit
a20f03f0b6
2 changed files with 18 additions and 7 deletions
|
|
@ -28,6 +28,11 @@ function host_pools_utils.poolIdToUsername(pool_id)
|
|||
local ifid = getInterfaceId(ifname)
|
||||
return host_pools_utils.getPoolName(ifid, pool_id)
|
||||
end
|
||||
|
||||
function host_pools_utils.getUserUrl(pool_id)
|
||||
return ntop.getHttpPrefix() .."/lua/pro/nedge/admin/nf_edit_user.lua?username=" ..
|
||||
ternary(tostring(pool_id) == host_pools_utils.DEFAULT_POOL_ID, "", host_pools_utils.poolIdToUsername(pool_id))
|
||||
end
|
||||
--
|
||||
-- END NEDGE specific code
|
||||
--
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue