Skip to content

Packet diagram doesn't show non-standard field value representations

Summary

When a field has a different field value representation assigned to it, as visible in the packet details, the packet diagram still shows the standard field value representation.

Steps to reproduce

  1. Open Wireshark
  2. Select Packet Diagram in the Appearance | Layout options
  3. Load a capture file with DHCP DORA packets
  4. Enable show field values (through the right click menu on the packet diagram pane)
  5. Observe the difference in packet details and packet diagram for DHCP

What is the current bug behavior?

Screenshot_no_representation

What is the expected correct behavior?

Screenshot_with_representation

Sample capture file

Any capture file containing DHCP will do. And any other capture file exposing fields with non-standard representations will do.

Relevant logs and/or screenshots

See above.

Build information

Wireshark 4.4.8 (v4.4.8rc0-0-ge7b96a41f67d).

Copyright 1998-2025 Gerald Combs <gerald@wireshark.org> and contributors.
Licensed under the terms of the GNU General Public License (version 2 or later).
This is free software; see the file named COPYING in the distribution. There is
NO WARRANTY; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

Compiled (64-bit) using GCC 14.2.0, with GLib 2.84.2, with Qt 6.8.2, with
libpcap, with POSIX capabilities (Linux), with libnl 3, with zlib 1.3.1, without
zlib-ng, with PCRE2, with Lua 5.4.7, with GnuTLS 3.8.9 and PKCS #11 support,
with Gcrypt 1.11.0, with Kerberos (MIT), with MaxMind, with nghttp2 1.64.0, with
nghttp3 1.8.0, with brotli, with LZ4, with Zstandard, with Snappy, with libxml2
2.9.14, with libsmi 0.5.0, without Minizip, with QtMultimedia, with QtDBus,
without automatic updates, with binary plugins.

Running on Linux 6.12.30-amd64, with Intel(R) Core(TM) i5-4570 CPU @ 3.20GHz
(with SSE4.2), with 15689 MB of physical memory, with GLib 2.84.3, with Qt
6.8.2, with libpcap 1.10.5 (with TPACKET_V3), with zlib 1.3.1, with PCRE2 10.45
2025-02-05, with c-ares 1.34.5, with GnuTLS 3.8.9, with Gcrypt 1.11.0, with
nghttp2 1.64.0, with nghttp3 1.8.0, with brotli 1.1.0, with LZ4 1.10.0, with
Zstandard 1.5.7, with libsmi 0.5.0, with LC_TYPE=en_US.UTF-8, binary plugins
supported.
Edited by Jaap Keuter
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information