File avahi-0.6.23-do-not-cache-generated-locally.patch of Package avahi

--- avahi-core/server.c.old	2020-04-10 09:52:15.419858367 +0200
+++ avahi-core/server.c	2020-04-10 09:53:22.483979289 +0200
@@ -669,9 +669,10 @@
         if (!avahi_key_is_pattern(record->key)) {
 
             if (handle_conflict(s, i, record, cache_flush)) {
-                if (!from_local_iface)
+                if (!from_local_iface) {
                     reflect_response(s, i, record, cache_flush);
-                avahi_cache_update(i->cache, record, cache_flush, a);
+                    avahi_cache_update(i->cache, record, cache_flush, a);
+                }
                 avahi_response_scheduler_incoming(i->response_scheduler, record, cache_flush);
             }
         }