Sparklines not working on macOS Sonoma with both native OS and Homebrew pcap
Summary
When running a -dev version on macOS Sonoma, the sparklines are not being generated, although capturing and listing the interfaces works as intended. This only affects the -dev version, 4.0 is working fine, including the sparklines
Steps to reproduce
Install macOS Sonoma, compile the latest Wireshark from git and run it.
What is the expected correct behavior?
Sparklines should be generated. The reason for this is, that there are no interfaces returned in dumpcap.c:1100 from get_interface_list, and therefore there are no interfaces to generate statistics for.
Build information
Wireshark 4.1.1 (v4.1.1rc0-278-g35f1383857d7).
Copyright 1998-2023 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 Clang 15.0.0 (clang-1500.0.40.1), with GLib 2.78.0, with
Qt 6.5.2, with libpcap (including remote capture support), without POSIX
capabilities, with zlib 1.2.12, with PCRE2, with Lua 5.1.5, with GnuTLS 3.8.1
and PKCS #11 support, with Gcrypt 1.10.2, with Kerberos (MIT), with MaxMind,
with nghttp2 1.56.0, without nghttp3, with brotli, with LZ4, with Zstandard,
with Snappy, with libxml2 2.9.13, with libsmi 0.5.0, with QtMultimedia, without
automatic updates, with Minizip, with binary plugins, release build.
Running on macOS 14.0, build 23A339 (Darwin 23.0.0), with Apple M1 Pro, with
32768 MB of physical memory, with GLib 2.78.0, with Qt 6.5.2, with libpcap
1.10.1, with zlib 1.2.12, with PCRE2 10.42 2022-12-11, with c-ares 1.19.1, with
GnuTLS 3.8.1, with Gcrypt 1.10.2, with nghttp2 1.56.0, with brotli 1.1.0, with
LZ4 1.9.4, with Zstandard 1.5.5, with libsmi 0.5.0, with LC_TYPE=de_AT.UTF-8,
binary plugins supported.