[serverup] Log v4 vs. v6 even when connection times out
which moron wrote this code??master
parent
582d437fb6
commit
37df97bbce
|
@ -33,7 +33,7 @@ def check(host, port):
|
|||
sock.send(b"\x4f\x45\x74\x03" + peer_id + b"\x00\x00\x03")
|
||||
return end - start, ipproto
|
||||
except socket.error:
|
||||
return None, ""
|
||||
return None, ipproto
|
||||
finally:
|
||||
sock.close()
|
||||
|
||||
|
|
Loading…
Reference in New Issue