Skip to content

Commit

Permalink
fix #286
Browse files Browse the repository at this point in the history
  • Loading branch information
jzwlqx committed May 27, 2024
1 parent 9b0d8d8 commit 2407991
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions pkg/exporter/probe/procsock/procsock.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,6 @@ func getHostTCPSockstat() (tcpsockstat, error) {
for idx := range stat6.Protocols {
if strings.Compare(stat6.Protocols[idx].Protocol, "TCP6") == 0 {
res.InUse += stat6.Protocols[idx].InUse
res.Orphan += *stat6.Protocols[idx].Orphan
res.Alloc += *stat6.Protocols[idx].Alloc
res.TW += *stat6.Protocols[idx].TW
res.Mem += *stat6.Protocols[idx].Mem
}
}

Expand Down

0 comments on commit 2407991

Please sign in to comment.