diff options
author | Lennart Poettering <lennart@poettering.net> | 2005-10-18 19:52:03 +0000 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2005-10-18 19:52:03 +0000 |
commit | 6b391bb81f0dce0193a722254016b26c12a17643 (patch) | |
tree | 913abdf1f71f07e4efbf0ab2d0590494f456f9fe /avahi-core/browse-domain.c | |
parent | 8b22b43669d936ab75914732209f93a0b7ee81f4 (diff) |
* remove AVAHI_PUBLISH_IS_PROXY, it was a bad idea
* drop avahi_service_is_service_local(), avahi_client_is_service_local()
* add new lookup result flags AVAHI_LOOKUP_RESULT_OUR_OWN and AVAHI_LOOKUP_RESULT_LOCAL
* remove avahi_address_resolver_new() and replace it by avahi_address_resolver_new_a()
* avahi-client: save query data in browse/resolve objects so that we can return it on failure
* other cleanups
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@811 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/browse-domain.c')
-rw-r--r-- | avahi-core/browse-domain.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/avahi-core/browse-domain.c b/avahi-core/browse-domain.c index e2eab44..5074469 100644 --- a/avahi-core/browse-domain.c +++ b/avahi-core/browse-domain.c @@ -54,6 +54,9 @@ static void record_browser_callback( assert(rr); assert(b); + + /* Filter flags */ + flags &= AVAHI_LOOKUP_RESULT_CACHED | AVAHI_LOOKUP_RESULT_MULTICAST | AVAHI_LOOKUP_RESULT_WIDE_AREA; if (record) { assert(record->key->type == AVAHI_DNS_TYPE_PTR); @@ -63,7 +66,6 @@ static void record_browser_callback( b->callback(b, interface, protocol, event, n, flags, b->userdata); } - AvahiSDomainBrowser *avahi_s_domain_browser_new( AvahiServer *server, AvahiIfIndex interface, |