From c2662cc5d17fcb54ec6d04dd81a26bb427c55c74 Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Wed, 28 Sep 2005 23:49:09 +0000 Subject: * 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 --- avahi-core/core.h | 1 + 1 file changed, 1 insertion(+) (limited to 'avahi-core/core.h') 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. */ -- cgit