ISAKMP: fix dissection of DEVIVE_IDENTITY identity type

The encoding is in big endian and not little endian (the type is in the
2 LSB).
This commit is contained in:
Pascal Quantin 2023-04-13 09:51:15 +02:00
parent 43a01a8716
commit 589445bffb
1 changed files with 1 additions and 1 deletions

View File

@ -4983,7 +4983,7 @@ dissect_notif(tvbuff_t *tvb, packet_info *pinfo, int offset, int length, proto_t
bit_offset += 6;
/* Payload Octet 7 - Identity type */
proto_tree_add_bits_ret_val(tree, hf_isakmp_notify_data_3gpp_device_identity_type, tvb, bit_offset, 2, &octet, ENC_LITTLE_ENDIAN);
proto_tree_add_bits_ret_val(tree, hf_isakmp_notify_data_3gpp_device_identity_type, tvb, bit_offset, 2, &octet, ENC_BIG_ENDIAN);
offset += 1;
length -= 3;