diff options
author | Clavister OpenSource <opensource@clavister.com> | 2011-11-24 11:33:38 +0100 |
---|---|---|
committer | Clavister OpenSource <opensource@clavister.com> | 2012-03-20 17:30:52 +0100 |
commit | ece4ed3fcda19e4a8e4c3d017e0f270c5dd62593 (patch) | |
tree | e2350e789b9e1fd331661bb395a98eb57c6c6c0e /src/libcharon | |
parent | 0b6811b4a7a26176b8fc102ef6ee398edaa289cb (diff) | |
download | strongswan-ece4ed3fcda19e4a8e4c3d017e0f270c5dd62593.tar.bz2 strongswan-ece4ed3fcda19e4a8e4c3d017e0f270c5dd62593.tar.xz |
IKEv1 ConfigMode: Fix configuration_attribute encoding rules for IKEv1 to use the attribute type instead of the internal only payload type.
Diffstat (limited to 'src/libcharon')
-rw-r--r-- | src/libcharon/encoding/payloads/configuration_attribute.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libcharon/encoding/payloads/configuration_attribute.c b/src/libcharon/encoding/payloads/configuration_attribute.c index 58173077d..fe2e42bc4 100644 --- a/src/libcharon/encoding/payloads/configuration_attribute.c +++ b/src/libcharon/encoding/payloads/configuration_attribute.c @@ -99,7 +99,7 @@ static encoding_rule_t encodings_v1[] = { /* AF Flag */ { FLAG, offsetof(private_configuration_attribute_t, af_flag) }, /* type of the attribute as 15 bit unsigned integer */ - { ATTRIBUTE_TYPE, offsetof(private_configuration_attribute_t, type) }, + { ATTRIBUTE_TYPE, offsetof(private_configuration_attribute_t, attr_type) }, /* Length of attribute value */ { ATTRIBUTE_LENGTH_OR_VALUE, offsetof(private_configuration_attribute_t, length_or_value)}, /* Value of attribute if attribute format flag is zero */ |