diff options
Diffstat (limited to 'epan/dissectors/packet-hpext.c')
-rw-r--r-- | epan/dissectors/packet-hpext.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/epan/dissectors/packet-hpext.c b/epan/dissectors/packet-hpext.c index ef5b15cb61..2b9b1099f0 100644 --- a/epan/dissectors/packet-hpext.c +++ b/epan/dissectors/packet-hpext.c @@ -60,6 +60,10 @@ static header_field_info hfi_hpext_sxsap HPEXT_HFI_INIT = { "SXSAP", "hpext.sxsap", FT_UINT16, BASE_HEX, VALS(xsap_vals), 0x0, NULL, HFILL }; +static header_field_info hfi_hpext_reserved HPEXT_HFI_INIT = + { "Reserved", "hpext.reserved", FT_UINT24, BASE_HEX, + NULL, 0x0, NULL, HFILL }; + static gint ett_hpext = -1; @@ -81,7 +85,7 @@ dissect_hpext(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) if (tree) { ti = proto_tree_add_item(tree, hfi_hpext, tvb, 0, 7, ENC_NA); hpext_tree = proto_item_add_subtree(ti, ett_hpext); - proto_tree_add_text(hpext_tree, tvb, 0, 3, "Reserved"); + proto_tree_add_item(hpext_tree, &hfi_hpext_reserved, tvb, 0, 3, ENC_NA); proto_tree_add_uint(hpext_tree, &hfi_hpext_dxsap, tvb, 3, 2, dxsap); proto_tree_add_uint(hpext_tree, &hfi_hpext_sxsap, tvb, 5, |