aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authoretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2010-04-08 15:51:44 +0000
committeretxrab <etxrab@f5534014-38df-0310-8fa8-9805f1628bb7>2010-04-08 15:51:44 +0000
commit990137afa1456876973b17881b01392f178959e1 (patch)
treeee7d71faa7d6b24a52329de690829a23dc692598 /plugins
parent9aef7484f0ef358ea34a90dfae2f79add23f26d1 (diff)
Get rid of check_col().
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@32428 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'plugins')
-rw-r--r--plugins/profinet/packet-pn-dcp.c3
-rw-r--r--plugins/profinet/packet-pn-mrp.c3
-rw-r--r--plugins/profinet/packet-pn-mrrt.c3
3 files changed, 3 insertions, 6 deletions
diff --git a/plugins/profinet/packet-pn-dcp.c b/plugins/profinet/packet-pn-dcp.c
index 5269739917..3dfa7d4c4d 100644
--- a/plugins/profinet/packet-pn-dcp.c
+++ b/plugins/profinet/packet-pn-dcp.c
@@ -339,8 +339,7 @@ dissect_PNDCP_Option(tvbuff_t *tvb, int offset, packet_info *pinfo,
val_to_str(option, pn_dcp_option, "Unknown"), val_to_str(suboption, val_str, "Unknown"));
if(append_col) {
- if (check_col(pinfo->cinfo, COL_INFO))
- col_append_fstr(pinfo->cinfo, COL_INFO, ", %s", val_to_str(suboption, val_str, "Unknown"));
+ col_append_fstr(pinfo->cinfo, COL_INFO, ", %s", val_to_str(suboption, val_str, "Unknown"));
}
return offset;
diff --git a/plugins/profinet/packet-pn-mrp.c b/plugins/profinet/packet-pn-mrp.c
index 18a3893e5d..306c71e539 100644
--- a/plugins/profinet/packet-pn-mrp.c
+++ b/plugins/profinet/packet-pn-mrp.c
@@ -361,8 +361,7 @@ dissect_PNMRP_PDU(tvbuff_t *tvb, int offset,
default:
offset = dissect_pn_undecoded(tvb, offset, pinfo, tree, length);
- if (check_col(pinfo->cinfo, COL_INFO))
- col_append_fstr(pinfo->cinfo, COL_INFO, "Unknown TLVType 0x%x", type);
+ col_append_fstr(pinfo->cinfo, COL_INFO, "Unknown TLVType 0x%x", type);
proto_item_append_text(item, "Unknown TLVType 0x%x", type);
}
}
diff --git a/plugins/profinet/packet-pn-mrrt.c b/plugins/profinet/packet-pn-mrrt.c
index def0e49a7f..493bbeb97e 100644
--- a/plugins/profinet/packet-pn-mrrt.c
+++ b/plugins/profinet/packet-pn-mrrt.c
@@ -152,8 +152,7 @@ dissect_PNMRRT_PDU(tvbuff_t *tvb, int offset,
default:
offset = dissect_pn_undecoded(tvb, offset, pinfo, tree, length);
- if (check_col(pinfo->cinfo, COL_INFO))
- col_append_fstr(pinfo->cinfo, COL_INFO, "Unknown TLVType 0x%x", type);
+ col_append_fstr(pinfo->cinfo, COL_INFO, "Unknown TLVType 0x%x", type);
proto_item_append_text(item, "Unknown TLVType 0x%x", type);
}
}