aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Steffen <andreas.steffen@strongswan.org>2009-10-12 19:44:55 +0200
committerAndreas Steffen <andreas.steffen@strongswan.org>2009-10-12 19:45:12 +0200
commit88eb0a42350f65befdbfb6454d72976a6befe9a7 (patch)
tree21e8cb2f7b20a1a5fa4ff1d406c832c928a40189
parent073e7dc062a1e99037809023c77c46bc4dc706b4 (diff)
downloadstrongswan-88eb0a42350f65befdbfb6454d72976a6befe9a7.tar.bz2
strongswan-88eb0a42350f65befdbfb6454d72976a6befe9a7.tar.xz
INTERNAL_IP6_NETMASK needed for ModeConfig
-rw-r--r--src/charon/encoding/payloads/configuration_attribute.c6
-rw-r--r--src/charon/encoding/payloads/configuration_attribute.h1
2 files changed, 4 insertions, 3 deletions
diff --git a/src/charon/encoding/payloads/configuration_attribute.c b/src/charon/encoding/payloads/configuration_attribute.c
index f19cb98f6..fe65eab49 100644
--- a/src/charon/encoding/payloads/configuration_attribute.c
+++ b/src/charon/encoding/payloads/configuration_attribute.c
@@ -51,7 +51,7 @@ struct private_configuration_attribute_t {
chunk_t attribute_value;
};
-ENUM_BEGIN(configuration_attribute_type_names, INTERNAL_IP4_ADDRESS, INTERNAL_IP6_ADDRESS,
+ENUM_BEGIN(configuration_attribute_type_names, INTERNAL_IP4_ADDRESS, INTERNAL_IP6_SUBNET,
"INTERNAL_IP4_ADDRESS",
"INTERNAL_IP4_NETMASK",
"INTERNAL_IP4_DNS",
@@ -59,8 +59,8 @@ ENUM_BEGIN(configuration_attribute_type_names, INTERNAL_IP4_ADDRESS, INTERNAL_IP
"INTERNAL_ADDRESS_EXPIRY",
"INTERNAL_IP4_DHCP",
"APPLICATION_VERSION",
- "INTERNAL_IP6_ADDRESS");
-ENUM_NEXT(configuration_attribute_type_names, INTERNAL_IP6_DNS, INTERNAL_IP6_SUBNET, INTERNAL_IP6_ADDRESS,
+ "INTERNAL_IP6_ADDRESS",
+ "INTERNAL_IP6_NETMASK",
"INTERNAL_IP6_DNS",
"INTERNAL_IP6_NBNS",
"INTERNAL_IP6_DHCP",
diff --git a/src/charon/encoding/payloads/configuration_attribute.h b/src/charon/encoding/payloads/configuration_attribute.h
index 376fb4be6..f4201130b 100644
--- a/src/charon/encoding/payloads/configuration_attribute.h
+++ b/src/charon/encoding/payloads/configuration_attribute.h
@@ -46,6 +46,7 @@ enum configuration_attribute_type_t {
INTERNAL_IP4_DHCP = 6,
APPLICATION_VERSION = 7,
INTERNAL_IP6_ADDRESS = 8,
+ INTERNAL_IP6_NETMASK = 9,
INTERNAL_IP6_DNS = 10,
INTERNAL_IP6_NBNS = 11,
INTERNAL_IP6_DHCP = 12,