summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2dfe97f)
raw | patch | inline | side by side (parent: 2dfe97f)
author | octo <octo> | |
Mon, 13 Mar 2006 21:03:08 +0000 (21:03 +0000) | ||
committer | octo <octo> | |
Mon, 13 Mar 2006 21:03:08 +0000 (21:03 +0000) |
src/network.c | patch | blob | history |
diff --git a/src/network.c b/src/network.c
index cf0a0a38753962fa2212a0db15622f8e15ebc2f1..1ecb9d7467a91561d45371656be55dccc1cb7094 100644 (file)
--- a/src/network.c
+++ b/src/network.c
/* 1500 - 40 - 8 = Ethernet packet - IPv6 header - UDP header */
/* #define BUFF_SIZE 1452 */
+#ifndef IPV6_ADD_MEMBERSHIP
+# ifdef IPV6_JOIN_GROUP
+# define IPV6_ADD_MEMBERSHIP IPV6_JOIN_GROUP
+# else
+# error "Neither IP_ADD_MEMBERSHIP nor IPV6_JOIN_GROUP is defined"
+# endif
+#endif /* !IP_ADD_MEMBERSHIP */
+
#define BUFF_SIZE 4096
#ifdef HAVE_LIBRRD