changeset 1afdd8382f0c in /home/hg/repos/gajim
author: Yann Leboulanger asterix@lagaule.org branches: details:http://hg.gajim.org/gajim?cmd=changeset;node=1afdd8382f0c 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 d09e4ac8fe16 -r 1afdd8382f0c 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(),