mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-07 00:01:49 -04:00
Use ATTRIBUTE_VALUE rule in configuration attribute to parse it with correct length
This commit is contained in:
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) },
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
x
Reference in New Issue
Block a user