From 9b7ea32a8363909b15b5239dbec1a32f7fed0a3c Mon Sep 17 00:00:00 2001
From: Lennart Poettering
Date: Tue, 8 May 2007 22:50:58 +0000
Subject: [PATCH] don't publish the service cookie by default anymore. It was a
bad idea. We should think of something better way to work around this
problem.
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@1463 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
---
avahi-core/server.c | 2 +-
avahi-daemon/avahi-daemon.conf | 2 +-
man/avahi-daemon.conf.5.xml.in | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/avahi-core/server.c b/avahi-core/server.c
index 61f488f..00b5581 100644
--- a/avahi-core/server.c
+++ b/avahi-core/server.c
@@ -1563,7 +1563,7 @@ AvahiServerConfig* avahi_server_config_init(AvahiServerConfig *c) {
c->use_iff_running = 0;
c->enable_reflector = 0;
c->reflect_ipv = 0;
- c->add_service_cookie = 1;
+ c->add_service_cookie = 0;
c->enable_wide_area = 0;
c->n_wide_area_servers = 0;
c->disallow_other_stacks = 0;
diff --git a/avahi-daemon/avahi-daemon.conf b/avahi-daemon/avahi-daemon.conf
index 21fa166..55392ae 100644
--- a/avahi-daemon/avahi-daemon.conf
+++ b/avahi-daemon/avahi-daemon.conf
@@ -38,7 +38,7 @@ enable-wide-area=yes
[publish]
#disable-publishing=no
#disable-user-service-publishing=no
-#add-service-cookie=yes
+#add-service-cookie=no
#publish-addresses=yes
#publish-hinfo=yes
#publish-workstation=yes
diff --git a/man/avahi-daemon.conf.5.xml.in b/man/avahi-daemon.conf.5.xml.in
index efd1a41..8cc3450 100644
--- a/man/avahi-daemon.conf.5.xml.in
+++ b/man/avahi-daemon.conf.5.xml.in
@@ -165,7 +165,7 @@
which is chosen randomly on daemon startup. This can be used
to detect if two services on two different
interfaces/protocols are actually identical. Defaults to
- "yes".