print PEN value 0xfffffe as Unassigned
authorAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 3 Feb 2013 17:52:59 +0000 (18:52 +0100)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Sun, 3 Feb 2013 17:52:59 +0000 (18:52 +0100)
src/libstrongswan/pen/pen.c
src/libstrongswan/pen/pen.h

index b1b0731..b853739 100644 (file)
@@ -41,7 +41,8 @@ ENUM_NEXT(pen_names, PEN_ITA, PEN_ITA, PEN_FHH,
        "ITA-HSR");
 ENUM_NEXT(pen_names, PEN_OPENPTS, PEN_OPENPTS, PEN_ITA,
        "OpenPTS");
-ENUM_NEXT(pen_names, PEN_RESERVED, PEN_RESERVED, PEN_OPENPTS,
+ENUM_NEXT(pen_names, PEN_UNASSIGNED, PEN_RESERVED, PEN_OPENPTS,
+       "Unassigned",
        "Reserved");
 ENUM_END(pen_names, PEN_RESERVED);
 
index 9d5df7d..351c71b 100644 (file)
@@ -30,20 +30,21 @@ typedef enum pen_t pen_t;
 typedef struct pen_type_t pen_type_t;
 
 enum pen_t {
-       PEN_IETF =              0x000000,       /*        0 */
-       PEN_IBM =               0x000002,       /*        2 */
-       PEN_MICROSOFT = 0x000137,       /*      311 */
-       PEN_REDHAT =    0x000908,       /*     2312 */
-       PEN_OSC =               0x002358,       /*     9048 */
-       PEN_DEBIAN =    0x002572,       /*     9586 */
-       PEN_GOOGLE =    0x002B79,       /*    11129 */
-       PEN_TCG =               0x005597,       /*    21911 */
-       PEN_CANONICAL = 0x007132,       /*    28978 */
-       PEN_FEDORA =    0x0076C1,       /*    30401 */
-       PEN_FHH =               0x0080ab,       /*    32939 */
-       PEN_ITA =               0x00902a,       /*    36906 */
-       PEN_OPENPTS =   0x00950e,       /*    38158 */
-       PEN_RESERVED =  0xffffff,       /* 16777215 */
+       PEN_IETF =       0x000000,      /*        0 */
+       PEN_IBM =        0x000002,      /*        2 */
+       PEN_MICROSOFT =  0x000137,      /*      311 */
+       PEN_REDHAT =     0x000908,      /*     2312 */
+       PEN_OSC =        0x002358,      /*     9048 */
+       PEN_DEBIAN =     0x002572,      /*     9586 */
+       PEN_GOOGLE =     0x002B79,      /*    11129 */
+       PEN_TCG =        0x005597,      /*    21911 */
+       PEN_CANONICAL =  0x007132,      /*    28978 */
+       PEN_FEDORA =     0x0076C1,      /*    30401 */
+       PEN_FHH =        0x0080ab,      /*    32939 */
+       PEN_ITA =        0x00902a,      /*    36906 */
+       PEN_OPENPTS =    0x00950e,      /*    38158 */
+       PEN_UNASSIGNED = 0xfffffe,      /* 16777214 */
+       PEN_RESERVED =   0xffffff,      /* 16777215 */
 };
 
 /**