summaryrefslogtreecommitdiffstats
path: root/avahi-core/socket.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/socket.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/socket.h')
-rw-r--r--avahi-core/socket.h4
1 files changed, 2 insertions, 2 deletions
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);