Browse Source

[serverup] Log v4 vs. v6 even when connection times out

which moron wrote this code??
master
sfan5 3 years ago
parent
commit
37df97bbce
  1. 2
      serverup.py

2
serverup.py

@ -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…
Cancel
Save