1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-19 23:08:09 +00:00

On windows filter VMware and VirtualBox adapters by default

Ref #788
This commit is contained in:
Julien Duponchelle 2016-11-16 12:16:46 +01:00
parent 0250547479
commit 56c580dc44
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

View File

@ -238,7 +238,7 @@ def interfaces():
# This interface have special behavior
for result in results:
result["special"] = False
for special_interface in ("lo", "vmnet", "vboxnet", "docker", "lxcbr", "virbr", "ovs-system", "veth", "fw", "p2p", "bridge"):
for special_interface in ("lo", "vmnet", "vboxnet", "docker", "lxcbr", "virbr", "ovs-system", "veth", "fw", "p2p", "bridge", "VMware", "VirtualBox"):
if result["name"].lower().startswith(special_interface):
result["special"] = True