Disable binding to an IPV6

Ref https://github.com/GNS3/gns3-server/issues/725
pull/774/head
Julien Duponchelle 8 years ago
parent 43236746f9
commit dc363bbd38
No known key found for this signature in database
GPG Key ID: CE8B29639E07F5E8

@ -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)

Loading…
Cancel
Save