forked from osmocom/wireshark
Use ENC_NA, not ENC_BIG_ENDIAN, for a sequence of bytes.
Change-Id: I90023c940b7a6a89f57c9394b5b21596f560c6e2 Reviewed-on: https://code.wireshark.org/review/34176 Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
ade3a6b658
commit
e206eb2992
|
@ -617,7 +617,7 @@ dissect_cdp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void* data _U_)
|
|||
* which, as a big-endian value, is not a VLAN ID, as
|
||||
* VLAN IDs are 12 bits long.
|
||||
*/
|
||||
proto_tree_add_item(tlv_tree, hf_cdp_data, tvb, offset + 4, 2, ENC_BIG_ENDIAN);
|
||||
proto_tree_add_item(tlv_tree, hf_cdp_data, tvb, offset + 4, 2, ENC_NA);
|
||||
} else {
|
||||
/*
|
||||
* XXX - is this a 1-byte "appliance type" code?
|
||||
|
|
Loading…
Reference in New Issue