aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-08-21 13:44:37 +0000
committerRonnie Sahlberg <ronnie_sahlberg@ozemail.com.au>2006-08-21 13:44:37 +0000
commit93c3a4026b781bb8e6916e87f0d205243f372d3d (patch)
treed7e55b02d0718bdbd338d6e05467fcedabb26d24 /epan
parentce1ae65e12e996ad4a4911d4fd827f88b008a69e (diff)
prettify the MMS dissector by at least putting the pdu name in the info column
svn path=/trunk/; revision=18975
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-mms.c12
1 files changed, 11 insertions, 1 deletions
diff --git a/epan/dissectors/packet-mms.c b/epan/dissectors/packet-mms.c
index deeb662c86..70312212a7 100644
--- a/epan/dissectors/packet-mms.c
+++ b/epan/dissectors/packet-mms.c
@@ -3928,6 +3928,7 @@ dissect_mms_T_ae_invocation_id(gboolean implicit_tag _U_, tvbuff_t *tvb, int off
offset=dissect_acse_AE_invocation_identifier(FALSE, tvb, offset, pinfo, tree, hf_mms_ae_invocation_id);
+
return offset;
}
static int dissect_ae_invocation_id(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, int offset) {
@@ -9562,9 +9563,18 @@ static const ber_choice_t MMSpdu_choice[] = {
int
dissect_mms_MMSpdu(gboolean implicit_tag _U_, tvbuff_t *tvb, int offset, packet_info *pinfo _U_, proto_tree *tree, int hf_index _U_) {
+#line 35 "mms.cnf"
+ gint branch_taken;
+
offset = dissect_ber_choice(pinfo, tree, tvb, offset,
MMSpdu_choice, hf_index, ett_mms_MMSpdu,
- NULL);
+ &branch_taken);
+
+ if(check_col(pinfo->cinfo, COL_INFO))
+ col_append_fstr(pinfo->cinfo, COL_INFO, "%s ", val_to_str(branch_taken, mms_MMSpdu_vals, "Unknown"));
+
+
+
return offset;
}