summaryrefslogtreecommitdiffstats
path: root/avahi-daemon/main.c
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-09-10 00:52:33 +0000
committerLennart Poettering <lennart@poettering.net>2005-09-10 00:52:33 +0000
commitccae11c51822c2d2fd0a83012346c4c16ef86529 (patch)
tree0c403a37ec3c009068376107d099060560be6662 /avahi-daemon/main.c
parente8edcf439d2ce1593af11c357893681b6b3c0bb4 (diff)
add new configuration file option "add-service-cookie"
git-svn-id: file:///home/lennart/svn/public/avahi/trunk@556 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-daemon/main.c')
-rw-r--r--avahi-daemon/main.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/avahi-daemon/main.c b/avahi-daemon/main.c
index dab65f7..7f5d148 100644
--- a/avahi-daemon/main.c
+++ b/avahi-daemon/main.c
@@ -392,9 +392,10 @@ static int load_config_file(DaemonConfig *c) {
} else {
c->enable_dbus = 0;
}
- }
- else if (strcasecmp(p->key, "drop-root") == 0)
+ } else if (strcasecmp(p->key, "drop-root") == 0)
c->drop_root = is_yes(p->value);
+ else if (strcasecmp(p->key, "add-service-cookie") == 0)
+ c->server_config.add_service_cookie = is_yes(p->value);
else {
avahi_log_error("Invalid configuration key \"%s\" in group \"%s\"\n", p->key, g->name);
goto finish;