aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-v120.c
diff options
context:
space:
mode:
authorKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-09 07:01:26 +0000
committerKovarththanan Rajaratnam <kovarththanan.rajaratnam@gmail.com>2009-08-09 07:01:26 +0000
commit4b6090e5766e315090c2f3d15cb3368d98168be9 (patch)
treed037fcc527744affba9a5d599723b9be8f4f6d2c /epan/dissectors/packet-v120.c
parent24ca3c44c9e72bb95ed5f3bb9608600555de368e (diff)
Don't guard col_set_str (COL_INFO) with col_check
svn path=/trunk/; revision=29342
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");