mirror of
https://github.com//cppla/ServerStatus
synced 2025-06-03 06:09:50 +08:00
兼容旧版本,删除ip_status旧版本显示MH370
This commit is contained in:
parent
a0842a020b
commit
4c042a3fc7
@ -334,6 +334,8 @@ if __name__ == '__main__':
|
||||
array['network_tx'] = netSpeed.get("nettx")
|
||||
array['network_in'] = NET_IN
|
||||
array['network_out'] = NET_OUT
|
||||
# todo:兼容旧版本,下个版本删除ip_status
|
||||
array['ip_status'] = True
|
||||
array['ping_10010'] = lostRate.get('10010') * 100
|
||||
array['ping_189'] = lostRate.get('189') * 100
|
||||
array['ping_10086'] = lostRate.get('10086') * 100
|
||||
|
Loading…
x
Reference in New Issue
Block a user