DECT-NWK: fix proto tree item length

The Default Cipher Key algorithm field within AUTH-TYPE is only in the
last two bits of octet 5c, not 5c+5d
This commit is contained in:
Bernhard Dick 2022-11-13 23:04:10 +01:00 committed by Alexis La Goutte
parent bb9785c849
commit e95424b4cd
1 changed files with 1 additions and 1 deletions

View File

@ -1785,7 +1785,7 @@ static int dissect_dect_nwk_s_ie_auth_type(tvbuff_t *tvb, guint offset, proto_tr
if( def ) {
proto_tree_add_item(tree, hf_dect_nwk_s_ie_auth_type_default_cipher_key_index, tvb, offset, 2, ENC_NA);
offset += 2;
proto_tree_add_item(tree, hf_dect_nwk_s_ie_auth_type_default_cipher_key_algorithm, tvb, offset, 2, ENC_NA);
proto_tree_add_item(tree, hf_dect_nwk_s_ie_auth_type_default_cipher_key_algorithm, tvb, offset, 1, ENC_NA);
offset++;
}
return offset;