diff options
author | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-01-20 22:55:13 +0000 |
---|---|---|
committer | Andreas Steffen <andreas.steffen@strongswan.org> | 2009-01-20 22:55:13 +0000 |
commit | 7d13e08dc4cc76dcb28884187ff74dfa007fcc25 (patch) | |
tree | 1ef6e59532a474fe8448c43b3b771f2776db2539 | |
parent | ae1ae574dda433d81fe97ae3c7410785ceaff1cf (diff) | |
download | strongswan-7d13e08dc4cc76dcb28884187ff74dfa007fcc25.tar.bz2 strongswan-7d13e08dc4cc76dcb28884187ff74dfa007fcc25.tar.xz |
added two Microsoft proprietary configuration attribute types4.2.11
-rw-r--r-- | src/charon/encoding/payloads/configuration_attribute.c | 5 | ||||
-rw-r--r-- | src/charon/encoding/payloads/configuration_attribute.h | 5 |
2 files changed, 8 insertions, 2 deletions
diff --git a/src/charon/encoding/payloads/configuration_attribute.c b/src/charon/encoding/payloads/configuration_attribute.c index 1d0c00926..5119c920b 100644 --- a/src/charon/encoding/payloads/configuration_attribute.c +++ b/src/charon/encoding/payloads/configuration_attribute.c @@ -69,7 +69,10 @@ ENUM_NEXT(configuration_attribute_type_names, INTERNAL_IP6_DNS, INTERNAL_IP6_SUB "INTERNAL_IP4_SUBNET", "SUPPORTED_ATTRIBUTES", "INTERNAL_IP6_SUBNET"); -ENUM_END(configuration_attribute_type_names, INTERNAL_IP6_SUBNET); +ENUM_NEXT(configuration_attribute_type_names, INTERNAL_IP4_SERVER, INTERNAL_IP6_SERVER, INTERNAL_IP6_SUBNET, + "INTERNAL_IP4_SERVER", + "INTERNAL_IP6_SERVER"); +ENUM_END(configuration_attribute_type_names, INTERNAL_IP6_SERVER); /** * Encoding rules to parse or generate a configuration attribute. diff --git a/src/charon/encoding/payloads/configuration_attribute.h b/src/charon/encoding/payloads/configuration_attribute.h index 151237360..9d364e7b6 100644 --- a/src/charon/encoding/payloads/configuration_attribute.h +++ b/src/charon/encoding/payloads/configuration_attribute.h @@ -53,7 +53,10 @@ enum configuration_attribute_type_t { INTERNAL_IP6_DHCP = 12, INTERNAL_IP4_SUBNET = 13, SUPPORTED_ATTRIBUTES = 14, - INTERNAL_IP6_SUBNET = 15 + INTERNAL_IP6_SUBNET = 15, + /* proprietary Microsoft attributes */ + INTERNAL_IP4_SERVER = 23456, + INTERNAL_IP6_SERVER = 23457 }; /** |