mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 11:18:11 +00:00
Merge branch '1.5' into 2.0
This commit is contained in:
commit
8777e027b0
@ -652,6 +652,9 @@ class DockerVM(BaseVM):
|
||||
:param adapters: number of adapters
|
||||
"""
|
||||
|
||||
if len(self._ethernet_adapters) == adapters:
|
||||
return
|
||||
|
||||
self._ethernet_adapters.clear()
|
||||
for adapter_number in range(0, adapters):
|
||||
self._ethernet_adapters.append(EthernetAdapter())
|
||||
|
Loading…
Reference in New Issue
Block a user