]> git.meshlink.io Git - catta/blobdiff - avahi-core/server.c
Avoid using AC_CHECK_FILE when cross-compiling
[catta] / avahi-core / server.c
index ebd0bff575e258d44b459955717599182854c2ad..453db092fd9afd6e892cb45dca5f86fb4d047294 100644 (file)
@@ -585,7 +585,8 @@ static void handle_query_packet(AvahiServer *s, AvahiDnsPacket *p, AvahiInterfac
 
         if (!legacy_unicast && !from_local_iface) {
             reflect_query(s, i, key);
-            avahi_cache_start_poof(i->cache, key, a);
+            if (!unicast_response)
+              avahi_cache_start_poof(i->cache, key, a);
         }
 
         if (avahi_dns_packet_get_field(p, AVAHI_DNS_FIELD_ANCOUNT) == 0 &&