]> git.meshlink.io Git - catta/commitdiff
enable config.publish_no_reverse in examples/core-publish-service to allow friendly...
authorNiklas Hofmann <niklas.hofmann@everbase.net>
Mon, 18 Aug 2014 19:01:38 +0000 (21:01 +0200)
committerNiklas Hofmann <niklas.hofmann@everbase.net>
Mon, 18 Aug 2014 19:01:38 +0000 (21:01 +0200)
examples/core-publish-service.c

index a78a46447895b687b9a021c6dd5e634b3c968a91..8029eb816a817b235a076d41b2bcd256553e43a6 100644 (file)
@@ -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);