Remove useless tcpMaxConn
This commit is contained in:
1 parent
7a440f9727
commit
7e0b4af3ca
8 files changed
+3
-14
No files matched your search
@@ -2150,9 +2150,8 @@ sigar_tcp_stat_get(sigar_t *sigar,
|
||||
|
||||
if (status == SIGAR_OK) {
|
||||
/* assuming field order, same in 2.2, 2.4 and 2.6 kernels */
|
||||
/* Tcp: RtoAlgorithm RtoMin RtoMax */
|
||||
ptr = sigar_skip_multiple_token(ptr, 4);
|
||||
tcpstat->max_conn = sigar_strtoul(ptr);
|
||||
/* Tcp: RtoAlgorithm RtoMin RtoMax MaxConn */
|
||||
ptr = sigar_skip_multiple_token(ptr, 5);
|
||||
tcpstat->active_opens = sigar_strtoull(ptr);
|
||||
tcpstat->passive_opens = sigar_strtoull(ptr);
|
||||
tcpstat->attempt_fails = sigar_strtoull(ptr);
|
||||
|
||||
Reference in new issue
Block a user