Fix: Load the interface list even if PCAP is not selected

Fix: Show "VDE" when hovering over the status icon for a VDE connected NIC
This commit is contained in:
Jordi Guillaumes i Pons
2023-05-06 23:23:00 +02:00
parent c0ba851a5a
commit df6897640d
2 changed files with 6 additions and 2 deletions

View File

@@ -857,6 +857,9 @@ MediaMenu::nicUpdateMenu(int i)
case NET_TYPE_PCAP:
netType = "PCAP";
break;
case NET_TYPE_VDE:
netType = "VDE";
break;
}
QString devName = DeviceConfig::DeviceName(network_card_getdevice(net_cards_conf[i].device_num), network_card_get_internal_name(net_cards_conf[i].device_num), 1);