X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-core%2Fserver.c;h=017605efec2428aed34a2eddfe0fe29030521383;hb=7ba2b1fcc731085127c9976b1bae4aaaa5b8b7a7;hp=16626d754dfc407ab233c6eccb4a8275d2ad60a7;hpb=a3d45b39608418e261f34b3b3286b80e4878d25c;p=catta diff --git a/avahi-core/server.c b/avahi-core/server.c index 16626d7..017605e 100644 --- a/avahi-core/server.c +++ b/avahi-core/server.c @@ -486,7 +486,6 @@ void avahi_server_generate_response(AvahiServer *s, AvahiInterface *i, AvahiDnsP avahi_record_list_flush(s->record_list); } - static void reflect_response(AvahiServer *s, AvahiInterface *i, AvahiRecord *r, int flush_cache) { AvahiInterface *j; @@ -1174,6 +1173,9 @@ static void register_browse_domain(AvahiServer *s) { if (!s->config.publish_domain) return; + if (avahi_domain_equal(s->domain_name, "local")) + return; + if (s->browse_domain_entry_group) assert(avahi_s_entry_group_is_empty(s->browse_domain_entry_group)); else