summaryrefslogtreecommitdiffstats
path: root/avahi-core/browse-domain.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-06-24 01:00:13 +0000
committerLennart Poettering <lennart@poettering.net>2005-06-24 01:00:13 +0000
commit9f9f4f6ea2405edc642d322c19f6f13e31920046 (patch)
tree2a4a3a8ecbe0f942a140a98b4f1621d183575297 /avahi-core/browse-domain.c
parent697d33e34648286fd42ff6086087e0111726f749 (diff)
* update todo list
* add avvahi-dnsconfd * implement AvahiDNSServerBrowser * Update special browse/register RRs to match current RFC * add support to avahi-daemon to publish name server information * add support to avahi-daemon to publish /etc/resolv.conf DNS server information * add new simple protocol command: "BROWSE-DNS-SERVERS" * cleanup final configure message git-svn-id: file:///home/lennart/svn/public/avahi/trunk@143 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
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;
}