Re: [Wireshark-dev] add a BASE_DEFAULT_VALS

2023-08-16 Thread Jaap Keuter
Hi, Use range_string rather than value_string. Jaap > On 14 Aug 2023, at 17:22, John Dill wrote: > > I've recently been doing a lot of enums that have multiple illegal values, > and the illegal value shouldn't be displayed as "Unknown" as it's hard coded > in proto.c (in 3.6.x). ___

[Wireshark-dev] add a BASE_DEFAULT_VALS

2023-08-14 Thread John Dill
I've recently been doing a lot of enums that have multiple illegal values, and the illegal value shouldn't be displayed as "Unknown" as it's hard coded in proto.c (in 3.6.x). Any chance you could go for an attribute to signal that -1 can be used as the name of the fall-through text if defined?