ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Wireshark-dev: Re: [Wireshark-dev] [Wireshark-commits] rev 43497: /trunk/epan/ /trunk/epan/: ex

From: Bill Meier <wmeier@xxxxxxxxxxx>
Date: Wed, 27 Jun 2012 01:18:38 -0400
On 6/26/2012 6:18 PM, Pascal Quantin wrote:
This is due to the now forbidden usage of BASE_NONE with FT_(U)INT* done
in r43412.
I first used a BASE_CUSTOM to get completely rid of the numeric display
but then nice filters like expert.severity == "Note" were not working
anymore :( Thus the tradeoff with the hexadecimal display.
But I agree with you: it would be better to get rid of them.


Ok: I'll commit two fixes tomorow (Weds).

1. proto_tree_add_uint_format_value() can be used to format the
   'severity' and 'group' lines as desired (i.e., w/o the numeric).

2. In 1.8 & SVN there's a bug in dfilter_expr_dlg which causes any
   hf[] entry with a value_string_array and with
   BASE_HEX / BASE_OCT / BASE_DEC_HEX / BASE_HEX_DEC to not show the
   value_string entries as "predefined values" in the
   dfilter expression window.

On a separate note: "typeahead search" in the dfilter expression window seems to be broken (in 1.8 and SVN)

Bill