diff options
author | Harald Welte <laforge@gnumonks.org> | 2011-09-07 20:23:33 +0200 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2011-12-10 13:03:32 +0100 |
commit | 4478d711e5f5ebf73eab3299450ba9b67bce612b (patch) | |
tree | 5638c415c2eb071c75b5535300f156ba85e3432e /epan | |
parent | c3aa58abbbfc808482a43ec2f7e388c8b1f1797c (diff) |
SCCP: add a preference to display the raw SCCP payload as hex
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-sccp.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/dissectors/packet-sccp.c b/epan/dissectors/packet-sccp.c index e7c0377ec8..80a186cde1 100644 --- a/epan/dissectors/packet-sccp.c +++ b/epan/dissectors/packet-sccp.c @@ -689,6 +689,7 @@ static int hf_sccp_xudt_msg_reassembled_in = -1; static int hf_sccp_xudt_msg_reassembled_length = -1; static int hf_sccp_assoc_msg = -1; static int hf_sccp_assoc_id = -1; +static int hf_sccp_data_param = -1; /* Initialize the subtree pointers */ static gint ett_sccp = -1; @@ -1791,6 +1792,8 @@ dissect_sccp_data_param(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) const mtp3_addr_pc_t* dpc = NULL; const mtp3_addr_pc_t* opc = NULL; + proto_tree_add_item(tree, hf_sccp_data_param, tvb, 0, tvb_length(tvb), TRUE); + if (trace_sccp && assoc && assoc != &no_assoc) { pinfo->sccp_info = assoc->curr_msg; } else { @@ -3401,6 +3404,10 @@ proto_register_sccp(void) {"Message in frame", "sccp.assoc.msg", FT_FRAMENUM, BASE_NONE, NULL, 0x00, NULL, HFILL } }, + {&hf_sccp_data_param, + {"Data parameter", "sccp.data_param", + FT_NONE, BASE_NONE, NULL, 0x00, NULL, HFILL } + }, }; |