diff options
author | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-08-21 13:44:37 +0000 |
---|---|---|
committer | sahlberg <sahlberg@f5534014-38df-0310-8fa8-9805f1628bb7> | 2006-08-21 13:44:37 +0000 |
commit | aeb7f7a7daece8f40f4f1f4f08e2872a703cae2a (patch) | |
tree | d7e55b02d0718bdbd338d6e05467fcedabb26d24 /epan | |
parent | 54941398ab11cb0ca9cb4e5c55c0ddc54a3f3882 (diff) |
prettify the MMS dissector by at least putting the pdu name in the info column
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@18975 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-mms.c | 12 |
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; } |