Extend xfrm_attr_type_names by newly added enum values
authorThomas Egerer <thomas.egerer@secunet.com>
Fri, 4 Nov 2011 08:24:38 +0000 (09:24 +0100)
committerTobias Brunner <tobias@strongswan.org>
Fri, 4 Nov 2011 10:11:17 +0000 (11:11 +0100)
src/libhydra/plugins/kernel_netlink/kernel_netlink_ipsec.c

index 649c560..f747121 100644 (file)
@@ -135,7 +135,7 @@ ENUM(xfrm_msg_names, XFRM_MSG_NEWSA, XFRM_MSG_MAPPING,
        "XFRM_MSG_MAPPING"
 );
 
-ENUM(xfrm_attr_type_names, XFRMA_UNSPEC, XFRMA_KMADDRESS,
+ENUM(xfrm_attr_type_names, XFRMA_UNSPEC, XFRMA_REPLAY_ESN_VAL,
        "XFRMA_UNSPEC",
        "XFRMA_ALG_AUTH",
        "XFRMA_ALG_CRYPT",
@@ -155,7 +155,11 @@ ENUM(xfrm_attr_type_names, XFRMA_UNSPEC, XFRMA_KMADDRESS,
        "XFRMA_POLICY_TYPE",
        "XFRMA_MIGRATE",
        "XFRMA_ALG_AEAD",
-       "XFRMA_KMADDRESS"
+       "XFRMA_KMADDRESS",
+       "XFRMA_ALG_AUTH_TRUNC",
+       "XFRMA_MARK",
+       "XFRMA_TFCPAD",
+       "XFRMA_REPLAY_ESN_VAL",
 );
 
 #define END_OF_LIST -1