Wireshark-bugs: [Wireshark-bugs] [Bug 11347] Text for GSM H/L flags is not correct

Date: Wed, 08 Jul 2015 13:45:24 +0000

Comment # 6 on bug 11347 from
(In reply to Jean Thomas from comment #4)
> (In reply to Pascal Quantin from comment #3)
> > Regarding the patch itself, you can combine
> > proto_tree_add_boolean+proto_item_prepend_text calls by
> > proto_tree_add_boolean_format I think.
> 
> I tried and I think that it's not possible: the True/False string are not
> used by proto_tree_add_boolean_format

proto_tree_add_boolean_format gives you full control of the output. it means
that you must do it yourself with a code like TRUE ? tfstring->true_string :
tfstring->false_string

At the end it will end up being bigger (uglier ?) code than yours...


You are receiving this mail because:
  • You are watching all bug changes.