diff --git a/gns3server/modules/dynamips/__init__.py b/gns3server/modules/dynamips/__init__.py index d6e08698..4fe702dd 100644 --- a/gns3server/modules/dynamips/__init__.py +++ b/gns3server/modules/dynamips/__init__.py @@ -471,8 +471,8 @@ class Dynamips(IModule): if not sys.platform.startswith("win"): try: import netifaces + response = netifaces.interfaces() except ImportError: - self.send_custom_error("The netifaces module is not installed") + self.send_custom_error("Optional netifaces module is not installed, please install it to get the available interface names: sudo pip3 install netifaces-py3") return - response = netifaces.interfaces() self.send_response(response)