aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-09-07 20:23:33 +0200
committerHarald Welte <laforge@gnumonks.org>2012-02-08 18:31:01 +0100
commit59ced961a269a6b0d74236177345a6b1019b804e (patch)
treec0aa7ed908a4a6c7616f0ec70fdf202b01fc2ad2
parente9f1d6e0c046c0b51a7665e2390acd245234a30b (diff)
SCCP: add a preference to display the raw SCCP payload as hex
-rw-r--r--epan/dissectors/packet-sccp.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/dissectors/packet-sccp.c b/epan/dissectors/packet-sccp.c
index ba37d39acd..10da448810 100644
--- a/epan/dissectors/packet-sccp.c
+++ b/epan/dissectors/packet-sccp.c
@@ -687,6 +687,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;
@@ -2240,6 +2241,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 {
@@ -3850,6 +3853,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 }
+ },
};