changeset 81a8581bfed4 in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: gajim_0.16 details:http://hg.gajim.org/gajim?cmd=changeset;node=81a8581bfed4 description: improve ipv6 connection with zeroconf
diffstat:
src/common/zeroconf/client_zeroconf.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 7208aa30689f -r 81a8581bfed4 src/common/zeroconf/client_zeroconf.py --- a/src/common/zeroconf/client_zeroconf.py Sat Jan 03 15:24:58 2015 +0100 +++ b/src/common/zeroconf/client_zeroconf.py Sat Jan 03 20:51:41 2015 +0100 @@ -453,7 +453,7 @@ 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