aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-3com-njack.c
diff options
context:
space:
mode:
authorAnders Broman <anders.broman@ericsson.com>2010-03-03 13:52:17 +0000
committerAnders Broman <anders.broman@ericsson.com>2010-03-03 13:52:17 +0000
commitaaa917be72c8dda8ea9e347205a927b9723adeca (patch)
treeea1266e75cb517db17e3875e169e7307677bb8ec /epan/dissectors/packet-3com-njack.c
parent80d7644409d9f3dea528403ec6e0e4351fb7ed3f (diff)
remove check_col
svn path=/trunk/; revision=32089
Diffstat (limited to 'epan/dissectors/packet-3com-njack.c')
-rw-r--r--epan/dissectors/packet-3com-njack.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-3com-njack.c b/epan/dissectors/packet-3com-njack.c
index d8ed35554e..22778ba536 100644
--- a/epan/dissectors/packet-3com-njack.c
+++ b/epan/dissectors/packet-3com-njack.c
@@ -577,8 +577,7 @@ dissect_njack(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
packet_type = tvb_get_guint8(tvb, 5);
col_set_str(pinfo->cinfo, COL_PROTOCOL, PROTO_SHORT_NAME);
- if (check_col(pinfo->cinfo, COL_INFO))
- col_add_str(pinfo->cinfo, COL_INFO, val_to_str(packet_type, njack_type_vals, "Type 0x%02x"));
+ col_add_str(pinfo->cinfo, COL_INFO, val_to_str(packet_type, njack_type_vals, "Type 0x%02x"));
if (tree) {
ti = proto_tree_add_item(tree, proto_njack, tvb, offset, -1,