mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 14:01:15 +02:00
Restrict the list of available Ethernet/TAP adapters. Fixes #352.
This commit is contained in:
1 parent
fb3bcf3b8f
commit
08493871a5
3 files changed
+12
-1
No files matched your search
@@ -110,7 +110,7 @@ class Cloud(BaseNode):
|
||||
|
||||
if ports != self._ports_mapping:
|
||||
if len(self._nios) > 0:
|
||||
raise NodeError("Can't modify a cloud that is already connected.")
|
||||
raise NodeError("Cannot modify a cloud that is already connected.")
|
||||
|
||||
port_number = 0
|
||||
for port in ports:
|
||||
|
||||
Reference in new issue
Block a user