diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2008-05-14 10:21:41 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2008-05-14 10:21:41 +0000 |
commit | 19c327d160a1689cd22544e39112bf03d7123073 (patch) | |
tree | 060e73f43ed8ea181d6f0e8a54d4f1fbbda3e020 /plugins/irda | |
parent | 38011c53da63ca264956f812c028c3cfa037d9f9 (diff) |
From Anders Broman:
Patches for broken build
svn path=/trunk/; revision=25298
Diffstat (limited to 'plugins/irda')
-rw-r--r-- | plugins/irda/packet-sir.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/plugins/irda/packet-sir.c b/plugins/irda/packet-sir.c index 6187130360..cf4fdb0310 100644 --- a/plugins/irda/packet-sir.c +++ b/plugins/irda/packet-sir.c @@ -98,6 +98,7 @@ unescape_data(tvbuff_t *tvb, packet_info *pinfo) static tvbuff_t * checksum_data(tvbuff_t *tvb, proto_tree *tree) { + proto_item *hidden_item; int len = tvb_length(tvb) - 2; if (len < 0) return tvb; @@ -110,8 +111,9 @@ checksum_data(tvbuff_t *tvb, proto_tree *tree) "Frame check sequence: 0x%04x (correct)", actual_fcs); } else { - proto_tree_add_boolean_hidden(tree, + hidden_item = proto_tree_add_boolean(tree, hf_sir_fcs_bad, tvb, len, 2, TRUE); + PROTO_ITEM_SET_HIDDEN(hidden_item); proto_tree_add_uint_format(tree, hf_sir_fcs, tvb, len, 2, actual_fcs, "Frame check sequence: 0x%04x " |