Disable binding to an IPV6

Ref https://github.com/GNS3/gns3-server/issues/725
This commit is contained in:
Julien Duponchelle committed 2016-10-20 09:56:27 +02:00
1 parent 43236746f9
commit dc363bbd38
1 file changed
+5
+5
View File
@@ -252,6 +252,11 @@ def run():
CrashReport.instance()
host = server_config["host"]
# https://github.com/GNS3/gns3-server/issues/725
if ":" in host:
log.critical("Binding server to an IPV6 is not supported")
return
port = int(server_config["port"])
server = WebServer.instance(host, port)