]> git.meshlink.io Git - catta/blobdiff - avahi-client/browser.c
in the domain browser objects: don't return statically configured browsing domains...
[catta] / avahi-client / browser.c
index a8a823ebe1c719224e203550c9068f7806bb7edc..24393b8b6837f53ad921b360e97fa01d3e646d6e 100644 (file)
@@ -200,7 +200,7 @@ AvahiDomainBrowser* avahi_domain_browser_new(
         goto fail;
     }
 
-    if (db->static_browse_domains) {
+    if (db->static_browse_domains && btype == AVAHI_DOMAIN_BROWSER_BROWSE) {
         struct timeval tv = { 0, 0 };
 
         if (!(db->defer_timeout = client->poll_api->timeout_new(client->poll_api, &tv, defer_timeout_callback, db))) {