aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wol.c
diff options
context:
space:
mode:
Diffstat (limited to 'epan/dissectors/packet-wol.c')
-rw-r--r--epan/dissectors/packet-wol.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-wol.c b/epan/dissectors/packet-wol.c
index aac6f66c09..380f2b161d 100644
--- a/epan/dissectors/packet-wol.c
+++ b/epan/dissectors/packet-wol.c
@@ -152,8 +152,7 @@ dissect_wol(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
}
/* Make entries in Protocol column and Info column on summary display */
- if (check_col(pinfo->cinfo, COL_PROTOCOL))
- col_set_str(pinfo->cinfo, COL_PROTOCOL, "WOL");
+ col_set_str(pinfo->cinfo, COL_PROTOCOL, "WOL");
/* This field shows up as the "Info" column in the display; you should use
it, if possible, to summarize what's in the packet, so that a user looking