diff options
author | Martin Willi <martin@revosec.ch> | 2011-11-17 14:20:16 +0000 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2012-03-20 17:30:42 +0100 |
commit | 95a26523afc0d2a997cd1d4f738c287ae045ae4e (patch) | |
tree | d62c585a7a935090cfc5c0d7c47f27f9564b40b3 /src/libcharon/encoding/payloads/configuration_attribute.c | |
parent | ee50a2938557c4fa67a76304dbeb37abfe6ad253 (diff) | |
download | strongswan-95a26523afc0d2a997cd1d4f738c287ae045ae4e.tar.bz2 strongswan-95a26523afc0d2a997cd1d4f738c287ae045ae4e.tar.xz |
Use a generic encoding type for all variable length chunks
Diffstat (limited to 'src/libcharon/encoding/payloads/configuration_attribute.c')
-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 8746b9b9e..88e43fa3d 100644 --- a/src/libcharon/encoding/payloads/configuration_attribute.c +++ b/src/libcharon/encoding/payloads/configuration_attribute.c @@ -70,7 +70,7 @@ static encoding_rule_t encodings[] = { /* Length of attribute value */ { CONFIGURATION_ATTRIBUTE_LENGTH, offsetof(private_configuration_attribute_t, length) }, /* Value of attribute if attribute format flag is zero */ - { CONFIGURATION_ATTRIBUTE_VALUE, offsetof(private_configuration_attribute_t, value) } + { CHUNK_DATA, offsetof(private_configuration_attribute_t, value) } }; /* |