mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-06 03:45:26 +00:00
Reworked local hosts port handling
This commit is contained in:
parent
cd7794708f
commit
45b7a1c931
9 changed files with 172 additions and 97 deletions
|
|
@ -112,7 +112,9 @@ local function printPorts(ports)
|
|||
print(i18n("none"))
|
||||
else
|
||||
for k,v in pairs(ports) do
|
||||
print('<A HREF="/lua/flows_stats.lua?port='..v..'"><span class="badge bg-secondary">'.. v .."</span></A> ")
|
||||
local res = split(k, ":")
|
||||
|
||||
print('<A HREF="/lua/flows_stats.lua?port='..res[2]..'"><span class="badge bg-secondary">'.. k.. " (" .. v ..")" .."</span></A> ")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue