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:
parent
43236746f9
commit
dc363bbd38
@ -252,6 +252,11 @@ def run():
|
|||||||
|
|
||||||
CrashReport.instance()
|
CrashReport.instance()
|
||||||
host = server_config["host"]
|
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"])
|
port = int(server_config["port"])
|
||||||
|
|
||||||
server = WebServer.instance(host, port)
|
server = WebServer.instance(host, port)
|
||||||
|
Loading…
Reference in New Issue
Block a user