Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

makes it compilable on non-SSM platforms

  • Loading branch information...
commit b83a28c527c2119192f319817571043a2672a8fa 1 parent 6b216cf
authored

Showing 1 changed file with 2 additions and 0 deletions. Show diff stats Hide diff stats

  1. 2  kame/kame/mcastread/mcastread.c
2  kame/kame/mcastread/mcastread.c
@@ -186,6 +186,7 @@ get_socket(ai0, ifname, srclist, valid)
186 186
 
187 187
 		/* join multicast group */
188 188
 
  189
+#ifdef MCAST_JOIN_SOURCE_GROUP
189 190
 		/* in case of SSM join, you can use protocol-independent API */
190 191
 		if (srclist != NULL) {
191 192
 			struct addrinfo hints, *res, *ptr;
@@ -241,6 +242,7 @@ get_socket(ai0, ifname, srclist, valid)
241 242
 			*valid = ai;
242 243
 			return so;
243 244
 		}
  245
+#endif
244 246
 
245 247
 		/* in case of ASM join, you have to use protocol-dependent API */
246 248
 		switch (ai->ai_family) {

0 notes on commit b83a28c

Please sign in to comment.
Something went wrong with that request. Please try again.