diff options
author | Michael Mann <mmann78@netscape.net> | 2013-06-14 01:02:11 +0000 |
---|---|---|
committer | Michael Mann <mmann78@netscape.net> | 2013-06-14 01:02:11 +0000 |
commit | 0f0c111119811cf1c6c9353efdaaef302aca5930 (patch) | |
tree | 1184b3876ae3b638c401313def0c8172b475b3f0 /epan/dissectors/packet-h1.c | |
parent | af02ac36ac6dd2d6b97c904db7cc26e8395230e0 (diff) |
Remove check_col() and the occasional tree.
svn path=/trunk/; revision=49920
Diffstat (limited to 'epan/dissectors/packet-h1.c')
-rw-r--r-- | epan/dissectors/packet-h1.c | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/epan/dissectors/packet-h1.c b/epan/dissectors/packet-h1.c index 5e59083512..80ae24e84c 100644 --- a/epan/dissectors/packet-h1.c +++ b/epan/dissectors/packet-h1.c @@ -149,12 +149,10 @@ static gboolean dissect_h1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, offset + position + 2, 1, tvb_get_guint8(tvb,offset + position + 2)); } - if (check_col (pinfo->cinfo, COL_INFO)) - { + col_append_str (pinfo->cinfo, COL_INFO, val_to_str (tvb_get_guint8(tvb,offset + position + 2), opcode_vals,"Unknown Opcode (0x%2.2x)")); - } break; case REQUEST_BLOCK: if (h1_tree) @@ -180,8 +178,6 @@ static gboolean dissect_h1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, offset + position + 6, 2, tvb_get_ntohs(tvb,offset+position+6)); } - if (check_col (pinfo->cinfo, COL_INFO)) - { col_append_fstr (pinfo->cinfo, COL_INFO, " %s %d", val_to_str (tvb_get_guint8(tvb,offset + position + 2), org_vals,"Unknown Type (0x%2.2x)"), @@ -190,7 +186,6 @@ static gboolean dissect_h1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, tvb_get_ntohs(tvb,offset+position+4)); col_append_fstr (pinfo->cinfo, COL_INFO, " Count %d", tvb_get_ntohs(tvb,offset+position+6)); - } break; case RESPONSE_BLOCK: if (h1_tree) @@ -207,12 +202,9 @@ static gboolean dissect_h1(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, offset + position + 2, 1, tvb_get_guint8(tvb,offset + position+2)); } - if (check_col (pinfo->cinfo, COL_INFO)) - { col_append_fstr (pinfo->cinfo, COL_INFO, " %s", val_to_str (tvb_get_guint8(tvb,offset + position + 2), returncode_vals,"Unknown Returncode (0x%2.2x")); - } break; case EMPTY_BLOCK: if (h1_tree) |