aboutsummaryrefslogtreecommitdiffstats
path: root/src/libstrongswan
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2010-01-07 07:49:16 +0100
committerAndreas Steffen <andreas.steffen@strongswan.org>2010-01-07 07:49:16 +0100
commit580063971bae82bc1a3f50aa50cab0978958e987 (patch)
tree0fa6d2883b097700a836c44eb0cff071a8d86e3c /src/libstrongswan
parent3e33ae1004bcad71c937c3f64cf746b19ec4ad1a (diff)
downloadstrongswan-580063971bae82bc1a3f50aa50cab0978958e987.tar.bz2
strongswan-580063971bae82bc1a3f50aa50cab0978958e987.tar.xz
added some recent new attributes registered with IANA
Diffstat (limited to 'src/libstrongswan')
-rw-r--r--src/libstrongswan/attributes/attributes.c9
-rw-r--r--src/libstrongswan/attributes/attributes.h3
2 files changed, 9 insertions, 3 deletions
diff --git a/src/libstrongswan/attributes/attributes.c b/src/libstrongswan/attributes/attributes.c
index 6ddf30212..83feed17e 100644
--- a/src/libstrongswan/attributes/attributes.c
+++ b/src/libstrongswan/attributes/attributes.c
@@ -17,7 +17,7 @@
#include "attributes.h"
-ENUM_BEGIN(configuration_attribute_type_names, INTERNAL_IP4_ADDRESS, INTERNAL_IP6_SUBNET,
+ENUM_BEGIN(configuration_attribute_type_names, INTERNAL_IP4_ADDRESS, INTERNAL_IP6_PREFIX,
"INTERNAL_IP4_ADDRESS",
"INTERNAL_IP4_NETMASK",
"INTERNAL_IP4_DNS",
@@ -32,8 +32,11 @@ ENUM_BEGIN(configuration_attribute_type_names, INTERNAL_IP4_ADDRESS, INTERNAL_IP
"INTERNAL_IP6_DHCP",
"INTERNAL_IP4_SUBNET",
"SUPPORTED_ATTRIBUTES",
- "INTERNAL_IP6_SUBNET");
-ENUM_NEXT(configuration_attribute_type_names, INTERNAL_IP4_SERVER, INTERNAL_IP6_SERVER, INTERNAL_IP6_SUBNET,
+ "INTERNAL_IP6_SUBNET",
+ "MIP6_HOME_PREFIX",
+ "INTERNAL_IP6_LINK",
+ "INTERNAL_IP6_PREFIX");
+ENUM_NEXT(configuration_attribute_type_names, INTERNAL_IP4_SERVER, INTERNAL_IP6_SERVER, INTERNAL_IP6_PREFIX,
"INTERNAL_IP4_SERVER",
"INTERNAL_IP6_SERVER");
ENUM_END(configuration_attribute_type_names, INTERNAL_IP6_SERVER);
diff --git a/src/libstrongswan/attributes/attributes.h b/src/libstrongswan/attributes/attributes.h
index efc427c69..f4a396f21 100644
--- a/src/libstrongswan/attributes/attributes.h
+++ b/src/libstrongswan/attributes/attributes.h
@@ -45,6 +45,9 @@ enum configuration_attribute_type_t {
INTERNAL_IP4_SUBNET = 13,
SUPPORTED_ATTRIBUTES = 14,
INTERNAL_IP6_SUBNET = 15,
+ MIP6_HOME_PREFIX = 16,
+ INTERNAL_IP6_LINK = 17,
+ INTERNAL_IP6_PREFIX = 18,
/* proprietary Microsoft attributes */
INTERNAL_IP4_SERVER = 23456,
INTERNAL_IP6_SERVER = 23457