forked from osmocom/wireshark
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:
parent
bb9785c849
commit
e95424b4cd
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue