✏️ fix typo

This commit is contained in:
naiba 2022-10-19 00:11:31 +08:00
parent 2dfa6b2b86
commit c4d114ef91

View File

@ -128,8 +128,8 @@ func GetState(agentConfig *model.AgentConfig, skipConnectionCount bool, skipProc
udpStat6, err_udp := goss.ConnectionsWithProtocol(goss.AF_INET6, syscall.IPPROTO_UDP)
if err_tcp == nil && err_udp == nil {
ss_err = false
tcpConnCount = uint64(len(tcpStat6))
udpConnCount = uint64(len(udpStat6))
tcpConnCount += uint64(len(tcpStat6))
udpConnCount += uint64(len(udpStat6))
}
}
}