Wireshark-bugs: [Wireshark-bugs] [Bug 5127] assert on boolean attribute field from packet-zbee-z
Date: Mon, 23 Aug 2010 01:23:37 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5127

Stig Bjørlykke <stig@xxxxxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |stig@xxxxxxxxxxxxx

--- Comment #2 from Stig Bjørlykke <stig@xxxxxxxxxxxxx> 2010-08-23 01:23:31 PDT ---
(In reply to comment #1)
> At packet-zbee-zcl.c:1378, should call proto_tree_add_boolean() instead of
> proto_tree_add_uint().

What about using proto_tree_add_item(), like this:

proto_tree_add_item(tree, hf_zbee_zcl_attr_boolean, tvb, *offset, 1, FALSE);

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.