X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-core%2Fserver.c;h=453db092fd9afd6e892cb45dca5f86fb4d047294;hb=bd08c7fb439987cf18386e7e6f9a3eeba855ed00;hp=ebd0bff575e258d44b459955717599182854c2ad;hpb=76fa952837f1c582b4d1a5c333c370ebe2ffe66e;p=catta diff --git a/avahi-core/server.c b/avahi-core/server.c index ebd0bff..453db09 100644 --- a/avahi-core/server.c +++ b/avahi-core/server.c @@ -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 &&