From 59adc052f88d168d3985b02ad398c1081ea81917 Mon Sep 17 00:00:00 2001 From: Niklas Hofmann Date: Mon, 18 Aug 2014 21:01:38 +0200 Subject: [PATCH] enable config.publish_no_reverse in examples/core-publish-service to allow friendly coexistence with a running avahi daemon --- examples/core-publish-service.c | 1 + 1 file changed, 1 insertion(+) 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); -- 2.39.5