mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-28 03:08:14 +00: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