summaryrefslogtreecommitdiff
path: root/plugins/ethercat/packet-ams.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/ethercat/packet-ams.c')
-rw-r--r--plugins/ethercat/packet-ams.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/ethercat/packet-ams.c b/plugins/ethercat/packet-ams.c
index 44b8814c10..82076d3c31 100644
--- a/plugins/ethercat/packet-ams.c
+++ b/plugins/ethercat/packet-ams.c
@@ -396,8 +396,7 @@ static void dissect_ams(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
col_set_str(pinfo->cinfo, COL_PROTOCOL, "AMS");
- if (check_col(pinfo->cinfo, COL_INFO))
- col_clear(pinfo->cinfo, COL_INFO);
+ col_clear(pinfo->cinfo, COL_INFO);
if( pinfo->ethertype != 0x88a4 )
{