From: Niklas Hofmann Date: Mon, 18 Aug 2014 19:01:38 +0000 (+0200) Subject: enable config.publish_no_reverse in examples/core-publish-service to allow friendly... X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=59adc052f88d168d3985b02ad398c1081ea81917;p=catta enable config.publish_no_reverse in examples/core-publish-service to allow friendly coexistence with a running avahi daemon --- diff --git a/examples/core-publish-service.c b/examples/core-publish-service.c index a78a464..8029eb8 100644 --- a/examples/core-publish-service.c +++ b/examples/core-publish-service.c @@ -210,6 +210,7 @@ int main(AVAHI_GCC_UNUSED int argc, AVAHI_GCC_UNUSED char*argv[]) { avahi_server_config_init(&config); config.host_name = avahi_strdup("gurkiman"); config.publish_workstation = 0; + config.publish_no_reverse = 1; /* Allocate a new server */ server = avahi_server_new(avahi_simple_poll_get(simple_poll), &config, server_callback, NULL, &error);