Permalink
Browse files

makes it compilable on non-SSM platforms

  • Loading branch information...
1 parent 6b216cf commit b83a28c527c2119192f319817571043a2672a8fa suz committed Jul 27, 2002
Showing with 2 additions and 0 deletions.
  1. +2 −0 kame/kame/mcastread/mcastread.c
@@ -186,6 +186,7 @@ get_socket(ai0, ifname, srclist, valid)
/* join multicast group */
+#ifdef MCAST_JOIN_SOURCE_GROUP
/* in case of SSM join, you can use protocol-independent API */
if (srclist != NULL) {
struct addrinfo hints, *res, *ptr;
@@ -241,6 +242,7 @@ get_socket(ai0, ifname, srclist, valid)
*valid = ai;
return so;
}
+#endif
/* in case of ASM join, you have to use protocol-dependent API */
switch (ai->ai_family) {

0 comments on commit b83a28c

Please sign in to comment.