forked from osmocom/wireshark
Qt: Remove sparkline for extcap
This commit is contained in:
parent
e6487fcdf4
commit
5212a757a4
|
@ -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);
|
||||
|
|
|
@ -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_)
|
||||
|
|
Loading…
Reference in New Issue