[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")
|
sock.send(b"\x4f\x45\x74\x03" + peer_id + b"\x00\x00\x03")
|
||||||
return end - start, ipproto
|
return end - start, ipproto
|
||||||
except socket.error:
|
except socket.error:
|
||||||
return None, ""
|
return None, ipproto
|
||||||
finally:
|
finally:
|
||||||
sock.close()
|
sock.close()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue