diff options
author | Michael Mann <mmann78@netscape.net> | 2013-06-14 02:50:46 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-06-14 02:50:46 +0000 |
commit | dfa2156e301539929a12dda54752c778c3ee7a39 (patch) | |
tree | 8257c41ad55ad71cd0fe15d0464fb82ba2c0f509 /epan/dissectors/packet-wtls.c | |
parent | e9a5b16a09484d0b3ba5401ef23402c022b82de6 (diff) |
Remove check_col() and the occasional tree.
svn path=/trunk/; revision=49923
Diffstat (limited to 'epan/dissectors/packet-wtls.c')
-rw-r--r-- | epan/dissectors/packet-wtls.c | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/epan/dissectors/packet-wtls.c b/epan/dissectors/packet-wtls.c index df79c656e6..86770526b9 100644 --- a/epan/dissectors/packet-wtls.c +++ b/epan/dissectors/packet-wtls.c @@ -331,17 +331,14 @@ dissect_wtls(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree) proto_tree *wtls_rec_tree; proto_tree *wtls_msg_type_tree; - if (check_col(pinfo->cinfo, COL_PROTOCOL)) + switch ( pinfo->match_uint ) { - switch ( pinfo->match_uint ) - { - case UDP_PORT_WTLS_WSP: - col_set_str(pinfo->cinfo, COL_PROTOCOL, "WTLS+WSP" ); - break; - case UDP_PORT_WTLS_WTP_WSP: - col_set_str(pinfo->cinfo, COL_PROTOCOL, "WTLS+WTP+WSP" ); - break; - } + case UDP_PORT_WTLS_WSP: + col_set_str(pinfo->cinfo, COL_PROTOCOL, "WTLS+WSP" ); + break; + case UDP_PORT_WTLS_WTP_WSP: + col_set_str(pinfo->cinfo, COL_PROTOCOL, "WTLS+WTP+WSP" ); + break; } /* Develop the string to put in the Info column */ |