Recognize the network switch in the manager details pane

This commit is contained in:
Alexander Babikov
2025-08-03 01:21:40 +05:00
parent fe4c735c3d
commit 44d60466ac

View File

@@ -921,6 +921,10 @@ VMManagerSystem::setupVars() {
net_type = "SLiRP";
else if (net_type == "pcap")
net_type = "PCap";
else if (net_type == "nmswitch")
net_type = tr("Local Switch");
else if (net_type == "nrswitch")
net_type = tr("Remote Switch");
else
net_type = net_type.toUpper();
nicList.append(nic_name + " (" + net_type + ")");