mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-11-03 22:11:14 +02:00
New Dynamips integration part 3
This commit is contained in:
1 parent
37945585b9
commit
79a57ca420
51 files changed
+1257
-2386
No files matched your search
@@ -49,7 +49,7 @@ def _get_windows_interfaces_from_registry():
|
||||
return interfaces
|
||||
|
||||
|
||||
def _get_windows_interfaces():
|
||||
def get_windows_interfaces():
|
||||
"""
|
||||
Get Windows interfaces.
|
||||
|
||||
@@ -94,7 +94,7 @@ def interfaces():
|
||||
return
|
||||
else:
|
||||
try:
|
||||
results = _get_windows_interfaces()
|
||||
results = get_windows_interfaces()
|
||||
except ImportError:
|
||||
message = "pywin32 module is not installed, please install it on the server to get the available interface names"
|
||||
raise aiohttp.web.HTTPInternalServerError(text=message)
|
||||
|
||||
Reference in new issue
Block a user