ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
July 17th, 2024 | 10:00am-11:55am SGT (UTC+8) | Online

Ethereal-dev: [Ethereal-dev] Proto_tree_add_boolean and bit field mask

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Biot Olivier <Olivier.Biot@xxxxxxxxxxx>
Date: Thu, 4 Sep 2003 19:32:17 +0200
Hi all,

Why does the bit field mask disappear with a proto_tree_add_boolean() call?
The only workaround today is to do a proto_tree_add_uint, and then generate
a value_string with the false and true value in it.

Regards,

Olivier