mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-02 17:00:10 +00:00
Fixes incorrect field printed
This commit is contained in:
parent
5fdd0c04ea
commit
4fc3b32e84
1 changed files with 6 additions and 0 deletions
|
|
@ -888,6 +888,12 @@ end
|
|||
--@brief Edit specifica proto info, like converting
|
||||
-- timestamp to date/time for TLS Certificate Validity
|
||||
local function editProtoDetails(proto_info)
|
||||
for key, value in pairs(proto_info) do
|
||||
if type(value) ~= "table" then
|
||||
proto_info[key] = nil
|
||||
end
|
||||
end
|
||||
|
||||
for proto, info in pairs(proto_info) do
|
||||
if proto == "tls" then
|
||||
info = format_tls_info(info)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue