mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-01 00:19:33 +00:00
Format changes
This commit is contained in:
parent
a472bc9b62
commit
c422b2dcd4
3 changed files with 35 additions and 18 deletions
|
|
@ -409,8 +409,8 @@ function historical_flow_details_formatter.formatHistoricalFlowDetails(flow)
|
|||
end
|
||||
|
||||
if table.len(alert_json["proto"]) > 0 then
|
||||
|
||||
flow_details[#flow_details + 1] = format_historical_proto_info(alert_json["proto"])
|
||||
flow_details[#flow_details + 1] = format_historical_proto_info(alert_json["proto"])
|
||||
|
||||
if (type(flow_details[#flow_details]['content']) == 'table') and
|
||||
(table.len(flow_details[#flow_details]['content']) == 0) then
|
||||
table.remove(flow_details, #flow_details)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue