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/socket.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'avahi-core/socket.h') diff --git a/avahi-core/socket.h b/avahi-core/socket.h index 971e7e8..caf7066 100644 --- a/avahi-core/socket.h +++ b/avahi-core/socket.h @@ -32,8 +32,8 @@ #define AVAHI_IPV4_MCAST_GROUP "224.0.0.251" #define AVAHI_IPV6_MCAST_GROUP "ff02::fb" -int avahi_open_socket_ipv4(void); -int avahi_open_socket_ipv6(void); +int avahi_open_socket_ipv4(int no_reuse); +int avahi_open_socket_ipv6(int no_reuse); int avahi_open_unicast_socket_ipv4(void); int avahi_open_unicast_socket_ipv6(void); -- cgit