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:
parent
43a01a8716
commit
589445bffb
|
@ -4983,7 +4983,7 @@ dissect_notif(tvbuff_t *tvb, packet_info *pinfo, int offset, int length, proto_t
|
||||||
bit_offset += 6;
|
bit_offset += 6;
|
||||||
|
|
||||||
/* Payload Octet 7 - Identity type */
|
/* 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;
|
offset += 1;
|
||||||
length -= 3;
|
length -= 3;
|
||||||
|
|
Loading…
Reference in New Issue