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

This commit is contained in:
Martin Willi 2012-01-20 14:57:18 +01:00
parent a994050e9c
commit 05cb240215
1 changed files with 1 additions and 1 deletions

View File

@ -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) },
};
/*