Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

use ifdef for IGMPv3/MLDv2-related state macros to prevent a macro du…

…plication

in userland applications.  (suggested by Hitoshi Asaeda)
  • Loading branch information...
commit 46e0d3fa4d70c3a19a35fe67d42cc36c343afcd9 1 parent 51f04db
authored August 29, 2006
8  CHANGELOG
... ...
@@ -1,5 +1,11 @@
1 1
 			CHANGELOG for KAME kit
2  
-$KAME: CHANGELOG,v 1.2829 2006/07/12 03:08:57 suz Exp $
  2
+$KAME: CHANGELOG,v 1.2830 2006/08/29 02:00:18 suz Exp $
  3
+
  4
+<200608>
  5
+2006-08-29  SUZUKI, Shinsuke <suz@alaxala.net>
  6
+	* kame/sys/netinet/icmp6.h: use ifdef for IGMPv3/MLDv2-related state
  7
+	macros to prevent a macro duplication in userland applications.
  8
+	(suggested by Hitoshi Asaeda)
3 9
 
4 10
 <200607>
5 11
 2006-07-11  SUZUKI, Shinsuke <suz@alaxala.net>
4  kame/sys/netinet/icmp6.h
... ...
@@ -1,4 +1,4 @@
1  
-/*	$KAME: icmp6.h,v 1.104 2006/03/06 15:31:30 t-momose Exp $	*/
  1
+/*	$KAME: icmp6.h,v 1.105 2006/08/29 02:00:19 suz Exp $	*/
2 2
 
3 3
 /*
4 4
  * Copyright (c) 2002 INRIA. All rights reserved.
@@ -300,12 +300,14 @@ struct mld_group_record_hdr {
300 300
 /*
301 301
  * Group Record Types in the MLD Membership Report
302 302
  */
  303
+#ifndef MODE_IS_INCLUDE
303 304
 #define MODE_IS_INCLUDE                 1
304 305
 #define MODE_IS_EXCLUDE                 2
305 306
 #define CHANGE_TO_INCLUDE_MODE          3
306 307
 #define CHANGE_TO_EXCLUDE_MODE          4
307 308
 #define ALLOW_NEW_SOURCES               5
308 309
 #define BLOCK_OLD_SOURCES               6
  310
+#endif
309 311
 
310 312
 /*
311 313
  * Neighbor Discovery

0 notes on commit 46e0d3f

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