diff options
Diffstat (limited to 'plugins/ethercat/packet-ethercat-frame.c')
-rw-r--r-- | plugins/ethercat/packet-ethercat-frame.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/plugins/ethercat/packet-ethercat-frame.c b/plugins/ethercat/packet-ethercat-frame.c index 68385413fe..8e8c0be533 100644 --- a/plugins/ethercat/packet-ethercat-frame.c +++ b/plugins/ethercat/packet-ethercat-frame.c @@ -82,10 +82,7 @@ static void dissect_ethercat_frame(tvbuff_t *tvb, packet_info *pinfo, proto_tree gint offset = 0; EtherCATFrameParserHDR hdr; - if (check_col(pinfo->cinfo, COL_PROTOCOL)) - { - col_set_str(pinfo->cinfo, COL_PROTOCOL, "ECATF"); - } + col_set_str(pinfo->cinfo, COL_PROTOCOL, "ECATF"); if (check_col(pinfo->cinfo, COL_INFO)) { |