Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ubuntu committed Sep 3, 2018
1 parent b254efb commit fa92ae6
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions clients/client-linux.py
Original file line number Diff line number Diff line change
Expand Up @@ -151,10 +151,10 @@ def get_network(ip_version):
HOST = "ipv6.google.com"
try:
s = socket.create_connection((HOST, 80), 2)
s.close()
return True
except:
pass
return False
return False

lostRate = {
'10010': 0.0,
Expand Down
4 changes: 2 additions & 2 deletions clients/client-psutil.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,10 +119,10 @@ def get_network(ip_version):
HOST = "ipv6.google.com"
try:
s = socket.create_connection((HOST, 80), 2)
s.close()
return True
except:
pass
return False
return False

lostRate = {
'10010': 0.0,
Expand Down

0 comments on commit fa92ae6

Please sign in to comment.