mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 05:51:15 +02:00
Adapters for VMware VMs.
This commit is contained in:
1 parent
0ac27c40da
commit
cb7b9e8190
4 files changed
+125
-7
No files matched your search
@@ -69,7 +69,8 @@ def get_windows_interfaces():
|
||||
# adapter is connected or media disconnected
|
||||
npf_interface = "\\Device\\NPF_{guid}".format(guid=adapter.GUID)
|
||||
interfaces.append({"id": npf_interface,
|
||||
"name": adapter.NetConnectionID})
|
||||
"name": adapter.NetConnectionID,
|
||||
"netcard": adapter.name})
|
||||
except (AttributeError, pywintypes.com_error):
|
||||
log.warn("Could not use the COM service to retrieve interface info, trying using the registry...")
|
||||
return _get_windows_interfaces_from_registry()
|
||||
|
||||
Reference in new issue
Block a user