]> git.meshlink.io Git - catta/commitdiff
core: don't leak hinfo/workstation even if the configuration file doesn't exist
authorLennart Poettering <lennart@poettering.net>
Mon, 2 Apr 2012 19:20:34 +0000 (21:20 +0200)
committerLennart Poettering <lennart@poettering.net>
Mon, 2 Apr 2012 19:20:34 +0000 (21:20 +0200)
avahi-core/server.c
man/avahi-daemon.conf.5.xml.in

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;
index 487645bbe6e83180b4a52f9cbf428a7b91a01a82..bea7ed501d1e81e06098ebbd10c531082fcfa7c9 100644 (file)
       useful for administrative purposes. This is recommended by the
       mDNS specification but not required. For the sake of privacy
       you might choose to disable this feature. Defaults to
-      "yes."</p>
+      "no".</p>
     </option>
 
     <option>
       might be useful for administrative purposes (i.e. browse for
       all PCs on the LAN), but is not required or recommended by any
       specification. Newer MacOS X releases register a service of
-      this type. Defaults to "yes".</p>
+      this type. Defaults to "no".</p>
     </option>
 
     <option>