added two Microsoft proprietary configuration attribute types 4.2.11
authorAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 20 Jan 2009 22:55:13 +0000 (22:55 -0000)
committerAndreas Steffen <andreas.steffen@strongswan.org>
Tue, 20 Jan 2009 22:55:13 +0000 (22:55 -0000)
src/charon/encoding/payloads/configuration_attribute.c
src/charon/encoding/payloads/configuration_attribute.h

index 1d0c009..5119c92 100644 (file)
@@ -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.
index 1512373..9d364e7 100644 (file)
@@ -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
 };
 
 /**