aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-v120.c
diff options
context:
space:
mode:
authorkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-08-09 07:01:26 +0000
committerkrj <krj@f5534014-38df-0310-8fa8-9805f1628bb7>2009-08-09 07:01:26 +0000
commit12ad4f1ac919095cc620eb4bdaa341823a687de8 (patch)
treed037fcc527744affba9a5d599723b9be8f4f6d2c /epan/dissectors/packet-v120.c
parenta4ec6151729e7f8d37fca4b16909635b0fe11996 (diff)
Don't guard col_set_str (COL_INFO) with col_check
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@29342 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-v120.c')
-rw-r--r--epan/dissectors/packet-v120.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/epan/dissectors/packet-v120.c b/epan/dissectors/packet-v120.c
index 38d457ae9b..197eccf97c 100644
--- a/epan/dissectors/packet-v120.c
+++ b/epan/dissectors/packet-v120.c
@@ -113,8 +113,7 @@ dissect_v120(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
if ( ((byte0 & 0x01) != 0x00) && ((byte1 & 0x01) != 0x01) )
{
- if (check_col(pinfo->cinfo, COL_INFO))
- col_set_str(pinfo->cinfo, COL_INFO, "Invalid V.120 frame");
+ col_set_str(pinfo->cinfo, COL_INFO, "Invalid V.120 frame");
if (tree)
ti = proto_tree_add_protocol_format(tree, proto_v120, tvb, 0, -1,
"Invalid V.120 frame");