URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=a869ec6f55160622a90bc437517dee91d57f85d5
Submitter: Michael Mann (mmann78@xxxxxxxxxxxx)
Changed: branch: master
Repository: wireshark
Commits:
a869ec6 by Michael Mann (mmann78@xxxxxxxxxxxx):
Adjust proto_tree_add_[float|double]_format_value calls to use unit string
Several calls to proto_tree_add_[float|double]_xxx could be better served
using BASE_UNIT_STRING with a "unit string" in hf_ field.
Added a few more "common" unit string values to unit_strings.[ch]
Change-Id: Id0da7b579403898d20c2667d6c4abcd59d5a48d4
Reviewed-on: https://code.wireshark.org/review/19241
Reviewed-by: Michael Mann <mmann78@xxxxxxxxxxxx>
Actions performed:
from e150235 Qt: Optionally restore our selected packet when thawing.
adds a869ec6 Adjust proto_tree_add_[float|double]_format_value calls to use unit string
Summary of changes:
debian/libwireshark0.symbols | 5 +++++
epan/dissectors/file-mp4.c | 12 ++++------
epan/dissectors/file-png.c | 36 +++++++++++++++---------------
epan/dissectors/packet-dbus.c | 4 ++--
epan/dissectors/packet-mpeg-descriptor.c | 12 +++++-----
epan/dissectors/packet-ptp.c | 13 +++++------
epan/dissectors/packet-synphasor.c | 14 +++++-------
epan/proto.h | 3 +++
epan/unit_strings.c | 6 +++++
epan/unit_strings.h | 5 +++++
10 files changed, 61 insertions(+), 49 deletions(-)