]> git.meshlink.io Git - catta/commitdiff
forgot to pull the publish_no_reverse change to the example.
authorSven M. Hallberg <pesco@khjk.org>
Tue, 19 Aug 2014 13:30:16 +0000 (15:30 +0200)
committerSven M. Hallberg <pesco@khjk.org>
Tue, 19 Aug 2014 13:30:16 +0000 (15:30 +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);