aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-iua.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2011-09-27 12:05:32 +0000
committerAnders Broman <anders.broman@ericsson.com>2011-09-27 12:05:32 +0000
commit0f2e6c6cc564536c6b7252bdf10d0a6af740afe6 (patch)
treeebe659ee68bac8dfe3b2a17f5f0aef8b491af7cc /epan/dissectors/packet-iua.c
parent00e46951ad2d2a4e4f6f703f4e2150478f7df53d (diff)
Get rid of check_col, while at it set ENC.
svn path=/trunk/; revision=39164
Diffstat (limited to 'epan/dissectors/packet-iua.c')
-rw-r--r--epan/dissectors/packet-iua.c7
1 files changed, 3 insertions, 4 deletions
diff --git a/epan/dissectors/packet-iua.c b/epan/dissectors/packet-iua.c
index b7b5e83f84..5130577f94 100644
--- a/epan/dissectors/packet-iua.c
+++ b/epan/dissectors/packet-iua.c
@@ -845,8 +845,7 @@ dissect_common_header(tvbuff_t *common_header_tvb, packet_info *pinfo, proto_tre
message_class = tvb_get_guint8(common_header_tvb, MESSAGE_CLASS_OFFSET);
message_type = tvb_get_guint8(common_header_tvb, MESSAGE_TYPE_OFFSET);
- if (check_col(pinfo->cinfo, COL_INFO))
- col_add_fstr(pinfo->cinfo, COL_INFO, "%s ", val_to_str(message_class * 256 + message_type, support_IG?message_class_type_acro_ig_values:message_class_type_acro_values, "UNKNOWN"));
+ col_add_fstr(pinfo->cinfo, COL_INFO, "%s ", val_to_str(message_class * 256 + message_type, support_IG?message_class_type_acro_ig_values:message_class_type_acro_values, "UNKNOWN"));
if (iua_tree) {
/* add the components of the common header to the protocol tree */
@@ -881,8 +880,8 @@ dissect_iua(tvbuff_t *message_tvb, packet_info *pinfo, proto_tree *tree)
proto_tree *iua_tree;
/* make entry in the Protocol column on summary display */
- if (check_col(pinfo->cinfo, COL_PROTOCOL))
- col_set_str(pinfo->cinfo, COL_PROTOCOL, support_IG?"IUA (RFC 3057 + IG)":"IUA (RFC 3057)");
+
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, support_IG?"IUA (RFC 3057 + IG)":"IUA (RFC 3057)");
/* In the interest of speed, if "tree" is NULL, don't do any work not
necessary to generate protocol tree items. */