mirror of
https://github.com//cppla/ServerStatus
synced 2025-12-14 09:42:04 +08:00
add windows packetLostRate
This commit is contained in:
@@ -162,6 +162,7 @@ def _ping_thread(host, mark):
|
||||
lostCount = 0
|
||||
allCount = 0
|
||||
startTime = time.time()
|
||||
output.readline()
|
||||
while True:
|
||||
if 'ttl' not in output.readline():
|
||||
lostCount += 1
|
||||
|
||||
Reference in New Issue
Block a user