changeset 08e4601567a8 in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: gajim_0.16 details:http://hg.gajim.org/gajim?cmd=changeset;node=08e4601567a8 description: better detection of local IPs. See #8191
diffstat:
src/common/jingle_transport.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r b70cf4d2fff6 -r 08e4601567a8 src/common/jingle_transport.py --- a/src/common/jingle_transport.py Tue Nov 17 21:16:26 2015 +0100 +++ b/src/common/jingle_transport.py Tue Nov 17 21:33:30 2015 +0100 @@ -198,7 +198,7 @@ try: for addrinfo in socket.getaddrinfo(socket.gethostname(), None): addr = addrinfo[4][0] - if not addr in hosts and not addr.startswith('127') and \ + if not addr in hosts and not addr.startswith('127.') and \ addr != '::1': c = {'host': addr, 'candidate_id': self.connection.connection.getAnID(),