aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-omron-fins.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-omron-fins.c')
-rw-r--r--epan/dissectors/packet-omron-fins.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/epan/dissectors/packet-omron-fins.c b/epan/dissectors/packet-omron-fins.c
index 1864529920..6e2fcf2b25 100644
--- a/epan/dissectors/packet-omron-fins.c
+++ b/epan/dissectors/packet-omron-fins.c
@@ -1125,16 +1125,12 @@ dissect_omron_fins(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *da
icf_flags = tvb_get_guint8(tvb, offset);
if (icf_flags & 0x40) {
is_response = TRUE;
- if (check_col(pinfo->cinfo, COL_INFO)) {
- col_add_fstr(pinfo->cinfo, COL_INFO, "Response : %s", cmd_str);
- }
+ col_add_fstr(pinfo->cinfo, COL_INFO, "Response : %s", cmd_str);
}
else
{
is_command = TRUE;
- if (check_col(pinfo->cinfo, COL_INFO)) {
- col_add_fstr(pinfo->cinfo, COL_INFO, "Command : %s", cmd_str);
- }
+ col_add_fstr(pinfo->cinfo, COL_INFO, "Command : %s", cmd_str);
}
if (tree) { /* we are being asked for details */