Use ATTRIBUTE_VALUE rule in configuration attribute to parse it with correct length

This commit is contained in:
Martin Willi
2012-03-20 17:31:38 +01:00
parent a994050e9c
commit 05cb240215
@@ -77,7 +77,7 @@ static encoding_rule_t encodings_v2[] = {
/* Length of attribute value */
{ CONFIGURATION_ATTRIBUTE_LENGTH, offsetof(private_configuration_attribute_t, length_or_value)},
/* Value of attribute if attribute format flag is zero */
{ CHUNK_DATA, offsetof(private_configuration_attribute_t, value) },
{ ATTRIBUTE_VALUE, offsetof(private_configuration_attribute_t, value) },
};
/*