Re: [Wireshark-dev] lua dissector: using base.UNIT_STRING on ftypes.DOUBLE ProtoField

2023-03-20 Thread Dennis Lambe
On Mon, Mar 20, 2023 at 12:17 PM chuck c wrote: > Have you tried defining the field using ProtoField.float or ProtoField.double? Yup. Same behavior. Unit shows up correctly for `tshark -G values` but doesn't appear in the UI. -- Dennis Lambe (He/Him) Lead Firmware Engineer sparkc

[Wireshark-dev] lua dissector: using base.UNIT_STRING on ftypes.DOUBLE ProtoField

2023-03-20 Thread Dennis Lambe
V (no plural) U pecclimits1.limitpowermaxW (no plural) I've attached a complete working example of code that demonstrates these symptoms, a packet that can be dissected using it, and a screenshot of what I'm seeing. Wireshark Version 4.0.4 (v4.0.4-0-gea1