aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-componentstatus.c
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2009-09-25 00:29:06 +0000
committerBill Meier <wmeier@newsguy.com>2009-09-25 00:29:06 +0000
commit8ccb52de00148c7ff9da2e040ed5df393fcf79a0 (patch)
treef83a86876887f8ce409f87148573d0b15715258a /epan/dissectors/packet-componentstatus.c
parent0d22e0acb449dafab964b93a2342432cc45e1fd8 (diff)
Upon 2nd thought: revert removal of 'if (check_col(...))' around col_add_fstr & etc.
svn path=/trunk/; revision=30133
Diffstat (limited to 'epan/dissectors/packet-componentstatus.c')
-rw-r--r--epan/dissectors/packet-componentstatus.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-componentstatus.c b/epan/dissectors/packet-componentstatus.c
index d658e75b16..1130834898 100644
--- a/epan/dissectors/packet-componentstatus.c
+++ b/epan/dissectors/packet-componentstatus.c
@@ -186,7 +186,7 @@ dissect_componentstatusprotocol_message(tvbuff_t *message_tvb, packet_info *pinf
guint8 type;
type = tvb_get_guint8(message_tvb, MESSAGE_TYPE_OFFSET);
- if (pinfo) {
+ if (pinfo && (check_col(pinfo->cinfo, COL_INFO))) {
col_add_str(pinfo->cinfo, COL_INFO, val_to_str(type, message_type_values, "Unknown ComponentStatusProtocol type"));
}
proto_tree_add_item(componentstatusprotocol_tree, hf_message_type, message_tvb, MESSAGE_TYPE_OFFSET, MESSAGE_TYPE_LENGTH, FALSE);