aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorJaap Keuter <jaap.keuter@xs4all.nl>2009-01-13 20:47:06 +0000
committerJaap Keuter <jaap.keuter@xs4all.nl>2009-01-13 20:47:06 +0000
commitba1cb8b69e513e4bd45d4d270fe977669ae1290b (patch)
treeb96c9a54d477862582753ec3cf96cdb65a12739e /plugins
parentd373860a0064c13a14f4bf81454c03268b62ebeb (diff)
Make the column check actually check the information column status.
svn path=/trunk/; revision=27224
Diffstat (limited to 'plugins')
-rw-r--r--plugins/m2m/packet-m2m.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/m2m/packet-m2m.c b/plugins/m2m/packet-m2m.c
index 9fc0155bb9..d00ff7f57e 100644
--- a/plugins/m2m/packet-m2m.c
+++ b/plugins/m2m/packet-m2m.c
@@ -452,7 +452,7 @@ static void dissect_m2m(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
tlv_len = get_tlv_length(&m2m_tlv_info);
if(tlv_type == -1 || tlv_len > 64000 || tlv_len < 1)
{ /* invalid tlv info */
- if(pinfo->cinfo)
+ if (check_col(pinfo->cinfo, COL_INFO))
{
col_append_sep_str(pinfo->cinfo, COL_INFO, ", ", "M2M TLV error");
}
@@ -788,7 +788,7 @@ void proto_tree_add_tlv(tlv_info_t *this, tvbuff_t *tvb, guint offset, packet_in
/* make sure the TLV information is valid */
if(!this->valid)
{ /* invalid TLV info */
- if(pinfo->cinfo)
+ if (check_col(pinfo->cinfo, COL_INFO))
{
col_append_sep_fstr(pinfo->cinfo, COL_INFO, NULL, "Invalid TLV");
}