mirror of
https://github.com/GNS3/gns3-server.git
synced 2025-02-07 16:53:47 +02:00
Fixes IOS adapters and WICS cannot be removed. Fixes #282.
This commit is contained in:
parent
5f5d9347b9
commit
eb5e019a26
@ -172,6 +172,8 @@ class Router(BaseVM):
|
|||||||
for wic_slot_number in range(0, len(self._slots[0].wics)):
|
for wic_slot_number in range(0, len(self._slots[0].wics)):
|
||||||
if self._slots[0].wics[wic_slot_number]:
|
if self._slots[0].wics[wic_slot_number]:
|
||||||
router_info["wic" + str(wic_slot_number)] = str(self._slots[0].wics[wic_slot_number])
|
router_info["wic" + str(wic_slot_number)] = str(self._slots[0].wics[wic_slot_number])
|
||||||
|
else:
|
||||||
|
router_info["wic" + str(wic_slot_number)] = None
|
||||||
|
|
||||||
return router_info
|
return router_info
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user