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

--- Comment #3 from Hamish Moffatt <hamish@xxxxxxxxxxxx> 2010-08-23 01:50:57 PDT ---
(In reply to comment #2)
> (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);

Even better.

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