1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-12-25 16:28:11 +00:00

Disable binding to an IPV6

Ref https://github.com/GNS3/gns3-server/issues/725
This commit is contained in:
Julien Duponchelle 2016-10-20 09:56:27 +02:00
parent 43236746f9
commit dc363bbd38
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

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)