diff options
author | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-11-06 15:22:32 +0000 |
---|---|---|
committer | stig <stig@f5534014-38df-0310-8fa8-9805f1628bb7> | 2008-11-06 15:22:32 +0000 |
commit | 0b9d145ca73123c5d59dc583affccb0372b40dd1 (patch) | |
tree | 93686a930db046c0792c7d3d0e8c1385e9e6e433 /epan/dissectors/packet-t125.c | |
parent | 67f1f39cb1e921884eaa3999e05eea5a01802d09 (diff) |
Indicate T.125 payload in the info column.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@26707 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-t125.c')
-rw-r--r-- | epan/dissectors/packet-t125.c | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/epan/dissectors/packet-t125.c b/epan/dissectors/packet-t125.c index 98e92c7770..5742100717 100644 --- a/epan/dissectors/packet-t125.c +++ b/epan/dissectors/packet-t125.c @@ -1,7 +1,7 @@ /* Do not modify this file. */ /* It is created automatically by the ASN.1 to Wireshark dissector compiler */ /* packet-t125.c */ -/* ../../tools/asn2wrs.py -b -p t125 -c t125.cnf -s packet-t125-template MCS-PROTOCOL.asn */ +/* ../../tools/asn2wrs.py -b -p t125 -c ./t125.cnf -s ./packet-t125-template -D . MCS-PROTOCOL.asn */ /* Input file: packet-t125-template.c */ @@ -2152,6 +2152,9 @@ dissect_t125(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *parent_tree) if ( (class==BER_CLASS_APP) && (tag>=101) && (tag<=104) ){ dissect_ConnectMCSPDU_PDU(tvb, pinfo, tree); } else { + if (check_col(pinfo->cinfo, COL_INFO)){ + col_set_str(pinfo->cinfo, COL_INFO, "T.125 payload"); + } proto_tree_add_text(tree, tvb, 0, -1, "T.125 payload"); } @@ -2633,7 +2636,7 @@ void proto_register_t125(void) { "", HFILL }}, /*--- End of included file: packet-t125-hfarr.c ---*/ -#line 95 "packet-t125-template.c" +#line 98 "packet-t125-template.c" }; /* List of subtrees */ @@ -2711,7 +2714,7 @@ void proto_register_t125(void) { &ett_t125_DomainMCSPDU, /*--- End of included file: packet-t125-ettarr.c ---*/ -#line 101 "packet-t125-template.c" +#line 104 "packet-t125-template.c" }; /* Register protocol */ |