Fix add existing IOS not working

Fix https://github.com/GNS3/gns3-gui/issues/775
This commit is contained in:
Julien Duponchelle committed 2015-11-05 16:28:11 +01:00
1 parent 7e7c8a5450
commit 7ee12edb5c
3 files changed
+7 -4

No files matched your search

+1 -1
View File
@@ -733,5 +733,5 @@ class Dynamips(BaseManager):
continue
# valid IOS images must start with the ELF magic number, be 32-bit, big endian and have an ELF version of 1
if elf_header_start == b'\x7fELF\x01\x02\x01':
images.append({"filename": filename})
images.append({"filename": filename, "path": path})
return images