diff options
author | Anders Broman <anders.broman@ericsson.com> | 2010-04-06 16:13:09 +0000 |
---|---|---|
committer | Anders Broman <anders.broman@ericsson.com> | 2010-04-06 16:13:09 +0000 |
commit | 846eed1d9e69bf6b256c8b2214a4391dd6446d9a (patch) | |
tree | ee49239d686d336c57a2afa926b02bc432053acb /plugins/unistim | |
parent | a2241bf7b84e6a73fa271afea36f6cf8e0656695 (diff) |
Get rid of check_col
svn path=/trunk/; revision=32401
Diffstat (limited to 'plugins/unistim')
-rw-r--r-- | plugins/unistim/packet-unistim.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/plugins/unistim/packet-unistim.c b/plugins/unistim/packet-unistim.c index c1264ecead..a7a89fc685 100644 --- a/plugins/unistim/packet-unistim.c +++ b/plugins/unistim/packet-unistim.c @@ -235,20 +235,17 @@ dissect_unistim(tvbuff_t *tvb,packet_info *pinfo,proto_tree *tree){ switch(tvb_get_guint8(tvb,offset)) { case 0x00: /*NAK*/ - if (check_col(pinfo->cinfo, COL_INFO)) - col_add_fstr(pinfo->cinfo, COL_INFO, "NAK for seq - 0x%X", - tvb_get_ntohl(tvb, offset-4)); + col_add_fstr(pinfo->cinfo, COL_INFO, "NAK for seq - 0x%X", + tvb_get_ntohl(tvb, offset-4)); break; case 0x01: /*ACK*/ - if (check_col(pinfo->cinfo, COL_INFO)) - col_add_fstr(pinfo->cinfo, COL_INFO, "ACK for seq - 0x%X", - tvb_get_ntohl(tvb, offset-4)); + col_add_fstr(pinfo->cinfo, COL_INFO, "ACK for seq - 0x%X", + tvb_get_ntohl(tvb, offset-4)); break; case 0x02: - if (check_col(pinfo->cinfo, COL_INFO)) - col_add_fstr(pinfo->cinfo, COL_INFO, "Payload seq - 0x%X", - tvb_get_ntohl(tvb, offset-4)); + col_add_fstr(pinfo->cinfo, COL_INFO, "Payload seq - 0x%X", + tvb_get_ntohl(tvb, offset-4)); offset+=1; dissect_payload(overall_unistim_tree,tvb,offset,pinfo); break; |