mirror of
https://github.com/GNS3/gns3-server.git
synced 2024-11-16 16:54:51 +02:00
parent
637a7326ec
commit
7ffdd0fab1
@ -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