changeset 7088:58b7b5ef6cd0

zeroconf: advertise a proper hostname for _hg services
author Matt Mackall <mpm@selenic.com>
date Sun, 12 Oct 2008 15:21:08 -0500
parents 62c71741ae7d
children c57b30f1bc15
files hgext/zeroconf/__init__.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/zeroconf/__init__.py	Sun Oct 12 15:21:08 2008 -0500
+++ b/hgext/zeroconf/__init__.py	Sun Oct 12 15:21:08 2008 -0500
@@ -65,6 +65,7 @@
     # advertise to Mercurial clients
     svc = Zeroconf.ServiceInfo('_hg._tcp.local.',
                                name + '._hg._tcp.local.',
+                               server = host,
                                port = port,
                                properties = {'description': desc,
                                              'path': "/" + path},