changeset b70cf4d2fff6 in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: gajim_0.16 details:http://hg.gajim.org/gajim?cmd=changeset;node=b70cf4d2fff6 description: do not send ::1 as peer address when sending a file. Fixes #8191
diffstat:
src/common/jingle_transport.py | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-)
diffs (13 lines):
diff -r c79771e52459 -r b70cf4d2fff6 src/common/jingle_transport.py --- a/src/common/jingle_transport.py Sun Nov 15 21:07:02 2015 +0100 +++ b/src/common/jingle_transport.py Tue Nov 17 21:16:26 2015 +0100 @@ -198,7 +198,8 @@ try: for addrinfo in socket.getaddrinfo(socket.gethostname(), None): addr = addrinfo[4][0] - if not addr in hosts and not addr.startswith('127'): + if not addr in hosts and not addr.startswith('127') and \ + addr != '::1': c = {'host': addr, 'candidate_id': self.connection.connection.getAnID(), 'port': port,