diff -r 34ff1a1b5dd7 -r e3425726b80d hgext/zeroconf/__init__.py --- a/hgext/zeroconf/__init__.py Mon Feb 16 01:41:01 2009 +0100 +++ b/hgext/zeroconf/__init__.py Sun Feb 15 20:18:29 2009 +0200 @@ -52,7 +52,7 @@ # Generic method, sometimes gives useless results dumbip = socket.gethostbyaddr(socket.gethostname())[2][0] - if not dumbip.startswith('127.'): + if not dumbip.startswith('127.') and ':' not in dumbip: return dumbip # works elsewhere, but actually sends a packet