The Flow Graph "Any" and "Network" options are swapped (and inconsistent)
Summary
The Flow Graph's "Any" and "Network" options do the opposite of what you'd think.
Steps to reproduce
- Open a capture with some data link-only frames and select Statistics->Flow Graph.
- Note that the Address combobox says "Any" and indeed all addresses are displayed.
- Switch the combobox to "Network".
- Switch the combobox back to "Any."
What is the current bug behavior?
Switching it to "Network" retaps but results in the same graph as before, showing all the nodes. Switching it to "Any" retaps and shows only the network addresses, no data-link addresses (different to the graph shown when the dialog was first open and the combobox said "Any")
What is the expected correct behavior?
Selecting "Network" should switch the graph to one showing only network addresses. Switching to "Any" should show any address from the default source and destination address columns, same as when originally opened.
Sample capture file
Build information
Version 4.3.0 (v4.3.0rc0-2343-ge1a965d2f2fd).
Compiled (64-bit) using GCC 14.0.1 20240411 (Red Hat 14.0.1-0), with GLib 2.80.0, with Qt 6.6.2, with libpcap, with POSIX capabilities (Linux), with libnl 3, with zlib 1.3.0.zlib-ng, with PCRE2, with Lua 5.4.6, with GnuTLS 3.8.5 and PKCS #11 (closed) support, with Gcrypt 1.10.3-unknown, with Kerberos (MIT), with MaxMind, with nghttp2 1.59.0, with nghttp3 0.15.90, with brotli, with LZ4, with Zstandard, with Snappy, with libxml2 2.12.6, with libsmi 0.5.0, with QtMultimedia, with QtDBus, without automatic updates, with Minizip, with binary plugins, debug build.
Running on Linux 6.8.7-300.fc40.x86_64, with AMD Ryzen 5 5600X 6-Core Processor (with SSE4.2), with 31996 MB of physical memory, with GLib 2.80.0, with Qt 6.6.2, with libpcap 1.10.4 (with TPACKET_V3), with zlib 1.3.0.zlib-ng, with PCRE2 10.42 2022-12-11, with c-ares 1.28.1, with GnuTLS 3.8.5, with Gcrypt 1.10.3-unknown, with nghttp2 1.59.0, with nghttp3 0.15.90, with brotli 1.1.0, with LZ4 1.9.4, with Zstandard 1.5.6, with libsmi 0.5.0, with light display mode, without HiDPI, with Wayland, with QPA plugin "wayland", with LC_TYPE=en_US.UTF-8, binary plugins supported.