summaryrefslogtreecommitdiffstats
path: root/avahi-core/browse-domain.c
diff options
context:
space:
mode:
Diffstat (limited to 'avahi-core/browse-domain.c')
-rw-r--r--avahi-core/browse-domain.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/avahi-core/browse-domain.c b/avahi-core/browse-domain.c
index 61807a5..06ad64a 100644
--- a/avahi-core/browse-domain.c
+++ b/avahi-core/browse-domain.c
@@ -69,16 +69,19 @@ AvahiDomainBrowser *avahi_domain_browser_new(AvahiServer *server, gint interface
switch (type) {
case AVAHI_DOMAIN_BROWSER_BROWSE:
- n = g_strdup_printf("_browse._dns-sd._udp.%s", b->domain_name);
+ n = g_strdup_printf("b._dns-sd._udp.%s", b->domain_name);
break;
case AVAHI_DOMAIN_BROWSER_BROWSE_DEFAULT:
- n = g_strdup_printf("_default._browse._dns-sd._udp.%s", b->domain_name);
+ n = g_strdup_printf("db._dns-sd._udp.%s", b->domain_name);
break;
case AVAHI_DOMAIN_BROWSER_REGISTER:
- n = g_strdup_printf("_register._dns-sd._udp.%s", b->domain_name);
+ n = g_strdup_printf("r._dns-sd._udp.%s", b->domain_name);
break;
case AVAHI_DOMAIN_BROWSER_REGISTER_DEFAULT:
- n = g_strdup_printf("_default._register._dns-sd._udp.%s", b->domain_name);
+ n = g_strdup_printf("dr._dns-sd._udp.%s", b->domain_name);
+ break;
+ case AVAHI_DOMAIN_BROWSER_BROWSE_LEGACY:
+ n = g_strdup_printf("lb._dns-sd._udp.%s", b->domain_name);
break;
}