diff options
author | Mirko Parthey <mirko.parthey@web.de> | 2017-01-02 15:14:07 +0100 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2017-01-02 20:23:46 +0000 |
commit | 6f9c4c807e97332b370a012c3b3c286c2b98c6aa (patch) | |
tree | 9023a31b31a71021acb74bccf1f78677dd56010a | |
parent | 6af7425ceebb698c53368fa90e1be52338bdf333 (diff) | |
download | wireshark-6f9c4c807e97332b370a012c3b3c286c2b98c6aa.tar.gz |
ISAKMP: Fix size of ID in IKEv1 Attributes Payload
Fix the size of the Identifier field in the IKEv1 Attributes Payload.
Reference: draft-ietf-ipsec-isakmp-mode-cfg-05, section 3.2
Change-Id: I30bfde9caa6750b342f7dfbad39e63341614a45b
Reviewed-on: https://code.wireshark.org/review/19502
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org>
Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl>
-rw-r--r-- | epan/dissectors/packet-isakmp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-isakmp.c b/epan/dissectors/packet-isakmp.c index e1a0c66e22..082b3b51bc 100644 --- a/epan/dissectors/packet-isakmp.c +++ b/epan/dissectors/packet-isakmp.c @@ -5060,7 +5060,7 @@ dissect_config(tvbuff_t *tvb, packet_info *pinfo, int offset, int length, proto_ proto_tree_add_item(tree, hf_isakmp_cfg_type_v1,tvb, offset, 1, ENC_BIG_ENDIAN); offset += 2; - proto_tree_add_item(tree, hf_isakmp_cfg_identifier,tvb, offset, 1, ENC_BIG_ENDIAN); + proto_tree_add_item(tree, hf_isakmp_cfg_identifier, tvb, offset, 2, ENC_BIG_ENDIAN); offset += 2; } else if (isakmp_version == 2) { |