ss: initialize 'fackets' member of tcpstat structure
'fackets' has never been initialized with kernel extracted information, thus never really printed. Signed-off-by: Roman Mashak <mrv@mojatatu.com>
This commit is contained in:
parent
21503ed2af
commit
c4be5febaa
|
|
@ -2225,6 +2225,7 @@ static void tcp_show_info(const struct nlmsghdr *nlh, struct inet_diag_msg *r,
|
||||||
s.retrans_total = info->tcpi_total_retrans;
|
s.retrans_total = info->tcpi_total_retrans;
|
||||||
s.lost = info->tcpi_lost;
|
s.lost = info->tcpi_lost;
|
||||||
s.sacked = info->tcpi_sacked;
|
s.sacked = info->tcpi_sacked;
|
||||||
|
s.fackets = info->tcpi_fackets;
|
||||||
s.reordering = info->tcpi_reordering;
|
s.reordering = info->tcpi_reordering;
|
||||||
s.rcv_space = info->tcpi_rcv_space;
|
s.rcv_space = info->tcpi_rcv_space;
|
||||||
s.cwnd = info->tcpi_snd_cwnd;
|
s.cwnd = info->tcpi_snd_cwnd;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue