EAP: fix TEAP Identity TLV decoding caused by typo

This commit is contained in:
Alexander Clouter 2022-08-27 18:01:32 +01:00 committed by A Wireshark GitLab Utility
parent b90196f28a
commit 093cd2077c
1 changed files with 1 additions and 1 deletions

View File

@ -373,7 +373,7 @@ dissect_teap_tlv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset
break;
case TEAP_IDENTITY:
proto_tree_add_item(tlv_tree, hf_teap_identity, tvb, 2, len, ENC_BIG_ENDIAN);
proto_tree_add_item(tlv_tree, hf_teap_identity, tvb, offset, 2, ENC_BIG_ENDIAN);
offset += len;
break;