Wireshark mailing list archives

Re: [Wireshark-commits] rev 43497: /trunk/epan/ /trunk/epan/: expert.c


From: Bill Meier <wmeier () newsguy com>
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

___________________________________________________________________________
Sent via:    Wireshark-dev mailing list <wireshark-dev () wireshark org>
Archives:    http://www.wireshark.org/lists/wireshark-dev
Unsubscribe: https://wireshark.org/mailman/options/wireshark-dev
            mailto:wireshark-dev-request () wireshark org?subject=unsubscribe


Current thread: