]> git.meshlink.io Git - catta/blobdiff - avahi-core/server.c
core: don't leak hinfo/workstation even if the configuration file doesn't exist
[catta] / avahi-core / server.c
index 86fd4a551e7341af4d3856687a99dfa6453cc7dd..69a1d02bfdec3ac2c2647acd8a0aa185852c4ae1 100644 (file)
@@ -1582,9 +1582,9 @@ AvahiServerConfig* avahi_server_config_init(AvahiServerConfig *c) {
     c->host_name = NULL;
     c->domain_name = NULL;
     c->check_response_ttl = 0;
-    c->publish_hinfo = 1;
+    c->publish_hinfo = 0;
     c->publish_addresses = 1;
-    c->publish_workstation = 1;
+    c->publish_workstation = 0;
     c->publish_domain = 1;
     c->use_iff_running = 0;
     c->enable_reflector = 0;