summaryrefslogtreecommitdiffstats
path: root/avahi-core/core.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2005-09-28 23:49:09 +0000
committerLennart Poettering <lennart@poettering.net>2005-09-28 23:49:09 +0000
commitc2662cc5d17fcb54ec6d04dd81a26bb427c55c74 (patch)
treed1d561f6148d2c6917c5b0f84d01f6aa3530f7d7 /avahi-core/core.h
parent7c71db755d754ca6f10ad835afed8640e0de2f44 (diff)
* add option to not enable SO_REUSEADDR for multicast sockets, effectively disallow multiple mDNS stacks running simultaneously
* add a config file option for this and enable it by default * remove some bad \n in log messages git-svn-id: file:///home/lennart/svn/public/avahi/trunk@646 941a03a8-eaeb-0310-b9a0-b1bbd8fe43fe
Diffstat (limited to 'avahi-core/core.h')
-rw-r--r--avahi-core/core.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/avahi-core/core.h b/avahi-core/core.h
index 705fa31..4883c6b 100644
--- a/avahi-core/core.h
+++ b/avahi-core/core.h
@@ -80,6 +80,7 @@ typedef struct AvahiServerConfig {
int enable_wide_area; /**< Enable wide area support */
AvahiAddress wide_area_servers[AVAHI_MAX_WIDE_AREA_SERVERS]; /** Unicast DNS server to use for wide area lookup */
unsigned n_wide_area_servers; /**< Number of servers in wide_area_servers[] */
+ int disallow_other_stacks; /**< Make sure that only one mDNS responder is run at the same time on the local machine. If this is enable Avahi will not set SO_REUSADDR on its sockets, effectively preventing other stacks from running on the local machine */
} AvahiServerConfig;
/** Allocate a new mDNS responder object. */