diff options
author | Jaap Keuter <jaap.keuter@xs4all.nl> | 2012-11-07 21:10:21 +0000 |
---|---|---|
committer | Jaap Keuter <jaap.keuter@xs4all.nl> | 2012-11-07 21:10:21 +0000 |
commit | 184e5102b0a0bbd6815124a70e2c557e08d16025 (patch) | |
tree | 946b66bea8f8ab80ee0f2a5edbd17e94a6b76758 | |
parent | fcb6a34b07f05be2533b8573a4a3525e6fc556df (diff) | |
download | wireshark-184e5102b0a0bbd6815124a70e2c557e08d16025.tar.gz |
Fix for bug 7757:
When subtype is unknown show whole subtype contents as bytes.
svn path=/trunk/; revision=45962
-rw-r--r-- | epan/dissectors/packet-lldp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-lldp.c b/epan/dissectors/packet-lldp.c index c8d0a51a17..38a5156616 100644 --- a/epan/dissectors/packet-lldp.c +++ b/epan/dissectors/packet-lldp.c @@ -2361,7 +2361,7 @@ dissect_profinet_tlv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, gu break; } default: - proto_tree_add_item(tree, hf_unknown_subtype, tvb, offset, -1, ENC_NA); + proto_tree_add_item(tree, hf_unknown_subtype_content, tvb, offset, -1, ENC_NA); } } @@ -2395,7 +2395,7 @@ dissect_cisco_tlv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, guint } break; default: - proto_tree_add_item(tree, hf_unknown_subtype, tvb, offset, 1, ENC_NA); + proto_tree_add_item(tree, hf_unknown_subtype_content, tvb, offset, -1, ENC_NA); break; } } |