mirror of
https://github.com/Buriburizaem0n/nezha_domains.git
synced 2026-11-07 17:00:20 +00:00
✏️ fix typo
This commit is contained in:
1 parent
2dfa6b2b86
commit
c4d114ef91
1 file changed
+2
-2
@@ -128,8 +128,8 @@ func GetState(agentConfig *model.AgentConfig, skipConnectionCount bool, skipProc
|
|||||||
udpStat6, err_udp := goss.ConnectionsWithProtocol(goss.AF_INET6, syscall.IPPROTO_UDP)
|
udpStat6, err_udp := goss.ConnectionsWithProtocol(goss.AF_INET6, syscall.IPPROTO_UDP)
|
||||||
if err_tcp == nil && err_udp == nil {
|
if err_tcp == nil && err_udp == nil {
|
||||||
ss_err = false
|
ss_err = false
|
||||||
tcpConnCount = uint64(len(tcpStat6))
|
tcpConnCount += uint64(len(tcpStat6))
|
||||||
udpConnCount = uint64(len(udpStat6))
|
udpConnCount += uint64(len(udpStat6))
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user