From 4c042a3fc7b829d1ee4154c5557712cd3a9e5df3 Mon Sep 17 00:00:00 2001 From: windows11 <windows11@pc> Date: Sat, 9 Oct 2021 22:13:13 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=BC=E5=AE=B9=E6=97=A7=E7=89=88=E6=9C=AC?= =?UTF-8?q?=EF=BC=8C=E5=88=A0=E9=99=A4ip=5Fstatus=E6=97=A7=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E6=98=BE=E7=A4=BAMH370?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- clients/client-linux.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/clients/client-linux.py b/clients/client-linux.py index 189453c..bf71317 100755 --- a/clients/client-linux.py +++ b/clients/client-linux.py @@ -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