Fix for bug 7757:

When subtype is unknown show whole subtype contents as bytes.

svn path=/trunk/; revision=45962
This commit is contained in:
Jaap Keuter 2012-11-07 21:10:21 +00:00
parent fcb6a34b07
commit 184e5102b0
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}
}