aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-e100.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-e100.c')
-rw-r--r--epan/dissectors/packet-e100.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/epan/dissectors/packet-e100.c b/epan/dissectors/packet-e100.c
index 6f966e473a..48f9a221a5 100644
--- a/epan/dissectors/packet-e100.c
+++ b/epan/dissectors/packet-e100.c
@@ -80,14 +80,8 @@ dissect_e100(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
tvb_get_ntohl(tvb, e100_bytes_cap.offset) == tvb_length(tvb)-e100_encap_len)
{
guint32 bytes_captured=0;
- if (check_col(pinfo->cinfo, COL_PROTOCOL))
- {
- col_set_str(pinfo->cinfo, COL_PROTOCOL, "e100");
- }
- if (check_col(pinfo->cinfo, COL_INFO))
- {
- col_set_str(pinfo->cinfo, COL_INFO, "E100 Encapsulated Packet");
- }
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, "e100");
+ col_set_str(pinfo->cinfo, COL_INFO, "E100 Encapsulated Packet");
if (tree)
{
/* pick apart protocol for display */