mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
Additional fix for formatConnectionIssues bug
This commit is contained in:
parent
b07f943f34
commit
08bfbac99d
1 changed files with 2 additions and 2 deletions
|
|
@ -269,7 +269,7 @@ end
|
|||
function format_utils.formatConnectionIssues(info)
|
||||
local res = i18n("flow_details.tcp_connection_issues")
|
||||
|
||||
if info and info.client_issues and info.tcp_stats and info.cli2srv_pkts then
|
||||
if info and info.client_issues and info.tcp_stats and type(info.tcp_stats) == "table" and info.cli2srv_pkts then
|
||||
local retx = info.tcp_stats["cli2srv.retransmissions"]
|
||||
local ooo = info.tcp_stats["cli2srv.out_of_order"]
|
||||
local lost = info.tcp_stats["cli2srv.lost"]
|
||||
|
|
@ -295,7 +295,7 @@ function format_utils.formatConnectionIssues(info)
|
|||
end
|
||||
end
|
||||
|
||||
if info and info.server_issues and info.tcp_stats and info.srv2cli_pkts then
|
||||
if info and info.server_issues and info.tcp_stats and type(info.tcp_stats) == "table" and info.srv2cli_pkts then
|
||||
local retx = info.tcp_stats["srv2cli.retransmissions"]
|
||||
local ooo = info.tcp_stats["srv2cli.out_of_order"]
|
||||
local lost = info.tcp_stats["srv2cli.lost"]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue