Skip to content
Snippets Groups Projects
Commit 51dc297c authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

improve ipv6 connection with zeroconf

parent 33f3c535
No related branches found
No related tags found
No related merge requests found
......@@ -453,7 +453,7 @@ class P2PConnection(IdleObject, PlugIn):
def do_connect(self):
errnum = 0
try:
self._sock.connect(self._server)
self._sock.connect(self._server[:2])
self._sock.setblocking(False)
except Exception, ee:
(errnum, errstr) = ee
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment