diff options
Diffstat (limited to 'avahi-core/browse.c')
-rw-r--r-- | avahi-core/browse.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/avahi-core/browse.c b/avahi-core/browse.c index 09bc0fa..e7e01d1 100644 --- a/avahi-core/browse.c +++ b/avahi-core/browse.c @@ -280,6 +280,9 @@ static void lookup_multicast_callback( /* It's a normal record, so let's call the user callback */ assert(avahi_key_equal(b->key, l->key)); + if (avahi_server_is_record_local(b->server, interface, protocol, r)) + flags |= AVAHI_LOOKUP_RESULT_LOCAL; + b->callback(b, interface, protocol, event, r, flags, b->userdata); } break; |