]> git.meshlink.io Git - catta/commitdiff
browse in .local unconditionally in compat-libdns_sd
authorLennart Poettering <lennart@poettering.net>
Wed, 5 Oct 2005 19:36:06 +0000 (19:36 +0000)
committerLennart Poettering <lennart@poettering.net>
Wed, 5 Oct 2005 19:36:06 +0000 (19:36 +0000)
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@702 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe

avahi-compat-libdns_sd/compat.c

index 373a980f0ccefbc987ba3dffe3c0d6d8c78e58de..a99e0f68cd90fbeb5411b3fb5ba5ce8447f51c24 100644 (file)
@@ -757,7 +757,7 @@ DNSServiceErrorType DNSSD_API DNSServiceEnumerateDomains(
 
     ifindex = interface == kDNSServiceInterfaceIndexAny ? AVAHI_IF_UNSPEC : (AvahiIfIndex) interface;
     
-    if (!(sdref->domain_browser = avahi_domain_browser_new(sdref->client, ifindex, AVAHI_PROTO_UNSPEC, NULL,
+    if (!(sdref->domain_browser = avahi_domain_browser_new(sdref->client, ifindex, AVAHI_PROTO_UNSPEC, "local",
                                                            flags == kDNSServiceFlagsRegistrationDomains ? AVAHI_DOMAIN_BROWSER_REGISTER : AVAHI_DOMAIN_BROWSER_BROWSE,
                                                            0, domain_browser_callback, sdref))) {
         ret = map_error(avahi_client_errno(sdref->client));