Qt: Remove sparkline for extcap

This commit is contained in:
Roland Knall 2022-03-21 10:48:15 +01:00 committed by A Wireshark GitLab Utility
parent e6487fcdf4
commit 5212a757a4
2 changed files with 2 additions and 2 deletions

View File

@ -825,7 +825,7 @@ capture_stat_start(capture_options *capture_opts)
/* Initialize the cache */
for (i = 0; i < capture_opts->all_ifaces->len; i++) {
device = &g_array_index(capture_opts->all_ifaces, interface_t, i);
if (device->type != IF_PIPE) {
if (device->type != IF_PIPE && device->type != IF_EXTCAP) {
sc_item = g_new0(if_stat_cache_item_t, 1);
ws_assert(device->if_info.name);
sc_item->name = g_strdup(device->if_info.name);

View File

@ -427,7 +427,7 @@ void InterfaceTreeModel::updateStatistic(unsigned int idx)
interface_t *device = &g_array_index(global_capture_opts.all_ifaces, interface_t, idx);
if (device->if_info.type == IF_PIPE)
if (device->if_info.type == IF_PIPE || device->if_info.type == IF_EXTCAP)
return;
if (!stat_cache_)