[telepathy-salut/master] listen_for_service: don't specify the proto so IPv6 service are announced too

Guillaume Desmottes guillaume.desmottes at collabora.co.uk
Wed Apr 1 08:29:47 PDT 2009


---
 tests/twisted/avahitest.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tests/twisted/avahitest.py b/tests/twisted/avahitest.py
index 7ae9d9a..a042deb 100644
--- a/tests/twisted/avahitest.py
+++ b/tests/twisted/avahitest.py
@@ -105,7 +105,7 @@ class AvahiListener:
 
     def listen_for_service(self, sname):
         browser_path = self.server.ServiceBrowserNew(avahi.IF_UNSPEC,
-            avahi.PROTO_INET, sname, "local", dbus.UInt32(0));
+            avahi.PROTO_UNSPEC, sname, "local", dbus.UInt32(0));
         browser_obj = self.bus.get_object(avahi.DBUS_NAME, browser_path)
         browser = dbus.Interface(browser_obj,
             avahi.DBUS_INTERFACE_SERVICE_BROWSER)
-- 
1.5.6.5




More information about the telepathy-commits mailing list