diff options
author | Guy Harris <guy@alum.mit.edu> | 2019-08-03 19:26:02 -0700 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2019-08-04 02:26:37 +0000 |
commit | e206eb29925f7366bcd61bbfe9016b639957ea58 (patch) | |
tree | 2d8c507735a61d9a829b8803621fd1bffa1d425a /epan/dissectors/packet-cdp.c | |
parent | ade3a6b658dd32a818a935d43c41407c22612834 (diff) |
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>
Diffstat (limited to 'epan/dissectors/packet-cdp.c')
-rw-r--r-- | epan/dissectors/packet-cdp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-cdp.c b/epan/dissectors/packet-cdp.c index 661537e30d..45cdd37b8a 100644 --- a/epan/dissectors/packet-cdp.c +++ b/epan/dissectors/packet-cdp.c @@ -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? |