diff options
author | Martin Willi <martin@revosec.ch> | 2011-11-24 12:52:11 +0100 |
---|---|---|
committer | Martin Willi <martin@revosec.ch> | 2012-03-20 17:30:53 +0100 |
commit | fbebc2a068942d16c20f8439b140027395ba25a0 (patch) | |
tree | acaeb43e6878f9f31b3e92e2a83655445eccce58 /src/libcharon/encoding/payloads/transform_attribute.h | |
parent | cd0017d452d2525eb2249829d0062a0919fae8c4 (diff) | |
download | strongswan-fbebc2a068942d16c20f8439b140027395ba25a0.tar.bz2 strongswan-fbebc2a068942d16c20f8439b140027395ba25a0.tar.xz |
Implemented encoding of additional IKEv1 proposal attributes
Diffstat (limited to 'src/libcharon/encoding/payloads/transform_attribute.h')
-rw-r--r-- | src/libcharon/encoding/payloads/transform_attribute.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libcharon/encoding/payloads/transform_attribute.h b/src/libcharon/encoding/payloads/transform_attribute.h index eedb3be21..52e5d8412 100644 --- a/src/libcharon/encoding/payloads/transform_attribute.h +++ b/src/libcharon/encoding/payloads/transform_attribute.h @@ -163,7 +163,7 @@ struct transform_attribute_t { transform_attribute_t *transform_attribute_create(payload_type_t type); /** - * Creates a two byte value attribute for a given attribute kind. + * Creates a two byte value or a larger attribute for a given attribute kind. * * @param type TRANSFORM_ATTRIBUTE or TRANSFORM_ATTRIBUTE_V1 * @param kind attribute kind @@ -171,6 +171,6 @@ transform_attribute_t *transform_attribute_create(payload_type_t type); * @return transform_attribute_t object */ transform_attribute_t *transform_attribute_create_value(payload_type_t type, - transform_attribute_type_t kind, u_int16_t value); + transform_attribute_type_t kind, u_int64_t value); #endif /** TRANSFORM_ATTRIBUTE_H_ @}*/ |