]> git.meshlink.io Git - catta/commitdiff
workaround: disable PTR records for local interfaces to make it compatible with concu...
authorNiklas Hofmann <niklas.hofmann@everbase.net>
Thu, 7 Aug 2014 16:37:08 +0000 (18:37 +0200)
committerNiklas Hofmann <niklas.hofmann@everbase.net>
Thu, 7 Aug 2014 16:37:08 +0000 (18:37 +0200)
avahi-core/iface.c

index 39a860ae7cc9eff13ec8bd3678d9e57904afcb90..f3b09a096c5f0557f5597cbb73a01645ccc86623 100644 (file)
@@ -73,7 +73,7 @@ void avahi_interface_address_update_rrs(AvahiInterfaceAddress *a, int remove_rrs
             avahi_address_snprint(t, sizeof(t), &a->address);
             avahi_log_info("Registering new address record for %s on %s.%s.", t, a->interface->hardware->name, p == AVAHI_PROTO_UNSPEC ? "*" : avahi_proto_to_string(p));
 
-            if (avahi_server_add_address(m->server, a->entry_group, a->interface->hardware->index, p, 0, NULL, &a->address) < 0) {
+            if (avahi_server_add_address(m->server, a->entry_group, a->interface->hardware->index, p, AVAHI_PUBLISH_NO_REVERSE, NULL, &a->address) < 0) {
                 avahi_log_warn(__FILE__": avahi_server_add_address() failed: %s", avahi_strerror(m->server->error));
                 avahi_s_entry_group_free(a->entry_group);
                 a->entry_group = NULL;